Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid and getfocus
Message
From
27/11/2003 08:54:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00853977
Message ID:
00854004
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform