Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling setfocus from text box giving error
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00629840
Message ID:
00630182
Views:
30
Why bug? I consider it a feature... :)

>Should we report this as a bug to MS? <g>
>
>>NODEFAULT is not really required here. See message#343379
>>
>>>You cannot call SetFocus() from Valid() but you can from LostFocus(). Don't forget to add NODEFAULT to prevent default VFP behavior.
If abc = tru
>>>   thisform.xyz.setfocus()
>>>   NODEFAULT
>>>endif
>>>
>< snip >
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform