Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid and getfocus
Message
De
27/11/2003 08:54:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00853977
Message ID:
00854004
Vues:
20
>sorry, I meant valid and lostfocus

At valid's method there is a data's level validation (for it fields)..

For lostfocus we have the object's level validation.. All the next setfocus can be nicely used here..


I always have found here this dialog between them.. (per instance of course)

VALID - huumm let me see.. the data criteria match with some others on the disk
VALID - The check digit is properly inputed
VALID - The number of digits match..
VALID - oops.. but theres 5 not 9 digits so I will set the thisform.specialflag to 1


LOSTFOCUS - is thisform.specialflag = 1.. Goto text1..
LOSTFOCUS - is thisform.specialflag = 2.. Goto text2..
LOSTFOCUS - is thisform.specialflag = 3.. Goto text3..


HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform