Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus won't work in Valid?
Message
De
06/04/1999 03:46:53
 
 
À
06/04/1999 03:36:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00205503
Message ID:
00205508
Vues:
16
Hi Gan,

If I got you right, you want to keep the focus on a text box if it is empty? If this is you problem, this is how I do it...

put a validation code in the VALID event. It should look something like this.

retu !empty(ThisForm.Text1.Value)

This will prevent you from exiting the object without entering a value.
Shit happens!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform