Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus Error
Message
From
18/02/1999 15:15:29
 
 
To
18/02/1999 13:28:00
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00188643
Message ID:
00189008
Views:
16
Dragan,

Here is what I found out. When I click suspend on the error, I checked the program flow. The problem stems from a form that is called from a combo box in the main form. I have a combo box that looks up values as the user types. If the value typed isn't in the list, another form comes up so the user can enter the information. Guess where the call to the entry form is. You guessed it, in the valid event of the combo box on the main form. Since the secondary form is called from the valid event, all subsequent setfocus() calls in the secondary form produce this error. This appears to be a nice (NOT) feature of VFP 6.0. This didn't happen at all in VFP 3.0.

Thanks,

Scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform