Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus() not allowed from Valid() anymore
Message
From
08/11/1996 01:34:37
 
 
To
05/11/1996 23:58:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011464
Message ID:
00011785
Views:
35
>>>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.

It kind of made sense to me after I thought of it for ... a couple
of days :) Apparently it's within the 'object' nature to fire Valid()
once the object gets accessed (and programmatically SetFocus() accesses
the object)

Robert
Some things are better be left unknown...NOT!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform