Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with tab order and setting focus method
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Problem with tab order and setting focus method
Miscellaneous
Thread ID:
00345162
Message ID:
00345162
Views:
82
I am having an issue with one of my classes that I don't know exactly how to handle. I have an order form class which can (if initiated by the user) call a preorder popup form class which displays items put on preorder. Anyway, after the preorder popup form is closed, I set focus to the appropriate control on my order form. When this control loses focus, it does not follow the order set in the tab index, instead no control receives focus. If you tab again, it sends the focus to the first control on the form (the first item in the tab order for the form). If I specifically code the LostFocus event to Thisform.nextcontrol.SETFOCUS, at times (it appears random?) the new control appears to have focus (the cursor is in the control), but if you attempt to type into this control, nothing happens. If you hit tab once, the control then completely gains control, and you may type information into it.

Has anyone ever experienced this type of behavior before? Or does anyone know how I might be able to fix it?

Thanks in advance!
Maria
Next
Reply
Map
View

Click here to load this message in the networking platform