Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to stay on a field?
Message
From
12/09/1997 10:16:50
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00049609
Message ID:
00049835
Views:
47
>>How do I send the FOCUS back to a field from a VALID?
>Robert,
>
>You can only keep focus in a particular field with the VALID. If VALID returns .F., the error message is displayed and focus stays in that control. If the VALID returns 0, focus stays in the contorl but no error message is displayed.
>
>To SetFocus to a certain place on leaving a control, you can do that in the control's LostFocus event by simply;
>
> THISFORM.Control.SetFocus()

that helps a lot Jim..thanks...:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform