Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus no in Valid?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00129097
Message ID:
00129105
Views:
24
>What is the technical reason you can't do a .SetFocus() in a Valid?
>
>And, since you can't, what do you do if you need to set focus to another control when leaving a control?
>
>Thanks!

Mark,

The technical reason is that if you do SetFocus froma Valid or When you are setting up a potential endless recursive situation. Use the LostFocus event and include a NODEFAULT in there if you do use the SetFocus
Previous
Reply
Map
View

Click here to load this message in the networking platform