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:
00122471
Vues:
23
>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.
>
looks like that will work. 1 quest. if the input is correct, I
want further processing to continue, where does that code go?


>>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.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform