Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with SetFocus
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00052740
Message ID:
00052831
Views:
30
>Hello guys, I know that in 5.0 I can not call SetFocus
>from within a "When","Valid" or some other methods, but
>I am calling setfocus from the click event of a button
>and I am having the same error:
>"SetFocus can not be called from When,Valid..."
>Is there any other condition that I am missing ?

Luis,

Just a reminder that you cannot use .SetFocus to restore focus to the object in its .LostFocus event, or in any other event if the object already has the focus.

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform