Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus() not allowed from Valid() anymore
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011464
Message ID:
00011668
Views:
33
>>>I've just discovered that SetFocus() is not allowed from a Valid() event anymore in Visual FoxPro 5.
>>>
>>>Take note of it if you have something like that in your framework. :)
>>
>>That's the concept they've incorporated into VFP from VB, BTW.
>
>That's interesting. Visual FoxPro 1 Visual Basic 0
>
>To solve this, I had to modify my framework to take care of this situation when I have to do a SetFocus() if a Valid() event is in the hierarchy.

This seems to confirm rumors I've heard that MS would like to phase out the Valid event. I've stopped using it in favor of Lostfocus for most situations...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform