Deplacement entre Zones de texte a l'aide de la touche Entree

Résolu
newtarikoo Messages postés 1 Date d'inscription jeudi 14 avril 2005 Statut Membre Dernière intervention 3 mai 2005 - 3 mai 2005 à 18:11
Gobillot Messages postés 3140 Date d'inscription vendredi 14 mai 2004 Statut Membre Dernière intervention 11 mars 2019 - 3 mai 2005 à 18:29
jé 2 zones de texte NOM et PRENOM, quand je termine avec l'ecriture du nom je veux me deplacer automatiquement à la zone de texte PRENOM en appuyant sur la touche Entree et pas sur Tabulation.
Voici mon email: [mailto:Tarikberhal@hotmail.com Tarikberhal@hotmail.com]

1 réponse

Gobillot Messages postés 3140 Date d'inscription vendredi 14 mai 2004 Statut Membre Dernière intervention 11 mars 2019 34
3 mai 2005 à 18:29
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text2.SetFocus
End Sub


Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text1.SetFocus
End Sub

Daniel
3
Rejoignez-nous