Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot call SetFocus from within LostFocus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Cannot call SetFocus from within LostFocus
Miscellaneous
Thread ID:
00627605
Message ID:
00627605
Views:
77
Bizarre behavior in VFP6sp5. On testing a form using a setfocus within a lostfocus event (to skip some boxes in the tab path) everthing works fine. When the form is run within the production environment it becomes the third form in a stack and fails the setfocus. The error is the usual 'Cannot call setfocus from within a When, Valid, RangeHigh or RangeLow event'. This is WITHIN a LOSTFOCUS event - the recomended location. Do any of you fine people out there know of a solution for this? What could be causing VFP to see this normal procedure as an error?

Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform