Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to Setfocus from within Valids...
Message
 
To
27/07/1999 07:28:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00245868
Message ID:
00246493
Views:
25
Harry,

I think of Valid and LostFocus as follows;

Valid is used to determine if focus will be allowed to leave a control
LostFocus is used to respond to focus leaving a control

The same with When and GotFocus;

When is for determining if focus will be allowed to arrive at a control
GotFocus is used to respond to focus arriving at a control

In your case, bringing up the other form is really having the current control lose focus, as focus goes to the other form, so it is best hadnled in the LostFocus event.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform