Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00281724
Message ID:
00281995
Views:
15
Mary-Ann,
If you're calling this from a button (such as the Save/Cancel buttons) then Sylvain is correct. If you are trying to stay on a certain field because the user has entered the wrong data, then return .F. from the code in the Valid() method. And if you're trying to go from field A to field B use the LostFocus() method of Field A.

HTH
Barbara

>How exactly do you use the setfocus property?
>Trying to force the user back to a txtField under a particular circumstance.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform