Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with Switching Focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Trouble with Switching Focus
Miscellaneous
Thread ID:
00344865
Message ID:
00344865
Views:
50
I'm having a problem with switching focus to another control on the same form. When clicking on a selection in a combo box, I have the VALID event set to switch the focus to a text box. This works fine. After clicking a selection, the cursor moves to the text box.

However, if I happen to click anywhere else on the form itself, while the combo box is opened, I get an error saying that the setfocus command is not allowed in a valid clause. This doesn't make sense, because the setfocus command works fine from within the combo box.

Thanks in advance!

Michael Reynolds
Next
Reply
Map
View

Click here to load this message in the networking platform