Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00514210
Message ID:
00514214
Views:
10
>Cannot call setfocus from within a valid of a textbox
>
> How can I do ?

Move whaqtever code you have in the Valid and put it in the LostFocus. If you don't want the user to leave the control, issue a NODEFAULT in the LostFocus. It will behave the same as if you return .F. within the Valid and you can use SetFocus if you want.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform