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:
00122689
Vues:
19
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.

>>Tim, If this is something your trying to avoid, I think you'll run into the same problem using setfocus(). Perhaps all you need to do is enable/disable controls allowing the user to continue only when a valid entry has been made. This would still enable the control being checked to lose focus and the quit button would be able to be clicked.
>
>Ken,Not sure what you're saying there. But are you saying there isn't a way to allow the user to quit regardless of what he's entered into the textbox?
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform