General information
Category:
Forms & Form designer
Title:
Trouble with Switching Focus
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
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