Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't call setfocus() from init() ??????
Message
 
To
30/01/2003 13:56:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00747302
Message ID:
00747556
Views:
14
Why not try a different method, perhaps the InteractiveChangeEvent, or the LostFocus. These both seem to be free from the restriction stated in the error message.

Dana

>I am receiving the error:
>
>Cannot call setfocus() from within a when, valid, rangehigh or rangelow.
>
>BUT - I am calling the setfocus in my form's init() method!!
>This has me COMPLETELY confused. I always call setfocus() from my form's init. How can this be happening?
>
>TIA
Where's the damned Any Key?...too late
Previous
Reply
Map
View

Click here to load this message in the networking platform