Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus won't work in Valid?
Message
From
06/04/1999 03:46:53
 
 
To
06/04/1999 03:36:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00205503
Message ID:
00205508
Views:
15
Hi Gan,

If I got you right, you want to keep the focus on a text box if it is empty? If this is you problem, this is how I do it...

put a validation code in the VALID event. It should look something like this.

retu !empty(ThisForm.Text1.Value)

This will prevent you from exiting the object without entering a value.
Shit happens!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform