Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation problem
Message
 
To
28/05/2001 11:36:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00511930
Message ID:
00511936
Views:
22
Modify as follows:

IF ( X button pressed )
NODEFAULT
ENDIF

Prevents the lostfocus event from executing it's default bevaviour;
I prefer to use the valid event since it executes first and can return focus either to its calling object or another object with the return command. Also, the lostfocus event if I remember correctly doesn't fire if the user navigates with the mouse instead of the keyboard; the valid event in contrast always fires.

Randy
Previous
Reply
Map
View

Click here to load this message in the networking platform