General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only