Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping Lostfocus
Message
De
14/01/2005 02:47:03
 
 
À
13/01/2005 19:00:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00977001
Message ID:
00977070
Vues:
42
The best, and correct, approach is to use VALID for validation, thus the name. RETURN=.F. measn failed validation.

>If I use txt.lostfocus as a validation event, what is the best or most correct approach
>eg...
>
mytxt.lostfocus
>***************
>if ! passvalidation()  && some validation code
>   this.setfocus()
>   nodefault
>   return .f.
>endif
>
>I'm thinking I don't need nodefault and return .f.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform