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:
00122702
Vues:
18
>Ok, for clarification, what happens if the entry good?
>
Then, new controls(textboxes, etc) will show up for furthur user input.
I wonder what event this all goes into.

>>>No, what I mean is that if in your validation code if your setting focus back to the textbox when it doesn't contain a valid number the Quit button won't be able to get focus unless a valid entry is made.
>
>>Sounds about right. I want the focus to go to the textbox automatically rather then force the user click on it manually and produce a cursor. So again, my objective is to keep the focus in the textbox until a good entry is provided by the user and at the same time, allowing him to click on the 'Quit' cmbbutton any time to abort the whole thing. PS when the textbox is filled, he hits enter to proceed like he does in the DOS version. 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