Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.setfocus method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00122406
Message ID:
00122463
Vues:
20
Well, if your using the keypress event to check for this, and the user clicks on the command button instead of pressing enter, the keypress event will not be fired. This would also be the case if they press the Tab key instead. I would put the validation check in the LostFocus event.

>I guess my concept is flawed. I want the process to continue if the info entered into the textbox is correct, otherwise I want the focus to go back to the textbox. Which event should I put my code into? Thanks.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform