Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus Error
Message
From
17/02/1999 16:28:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Setfocus Error
Miscellaneous
Thread ID:
00188643
Message ID:
00188643
Views:
47
Greetings All,

I have a form that has been working fine for several months. All of a sudden, an error message pops up that says "Cannot call Setfocus from within When, Valid, RangeHigh or RangeLow Event". I looked all over my controls, and there is no Setfocus call within any of these events. I have them in a command button's click event, and an Add_new method. I also have one in the Init event of the form.

Can anyone shed any light as to why this would show up now when the user has been using the app for a while? This is the second time something like this has happened. The first occurence involved something else. This app was upgraded from VFP 3.0 to VFP 6.0 about 1-1/2 months ago.

Thanks in advance.

Scott
Next
Reply
Map
View

Click here to load this message in the networking platform