For this question, I'm using VFP 3.0
I've created a dropdown list object that contains department numbers. The initial value is set to the current record value. After the enduser interacts with the dropdown list, I want to set the focus to another object (in this case a textbox named Requestor).
I've placed the following code in the interactive change event of the dropdown list object:
ThisForm.Requestor.SetFocus
This works as expected when the user chooses a new value from the list. However if the user doesn't find a new value that is appropriate and closes the dropdown list by selecting the current value, the focus remains with the dropdown list. I've tried several different events and I'm almost convinced that what I want to do is not possible. I'd like the focus to change anytime the dropdown is opened and then subsequently closes --
Any suggestions??
I've created a dropdown list object that contains department numbers. The initial value is set to the current record value. After the enduser interacts with the dropdown list, I want to set the focus to another object (in this case a textbox named Requestor).
I've placed the following code in the interactive change event of the dropdown list object:
ThisForm.Requestor.SetFocus
This works as expected when the user chooses a new value from the list. However if the user doesn't find a new value that is appropriate and closes the dropdown list by selecting the current value, the focus remains with the dropdown list. I've tried several different events and I'm almost convinced that what I want to do is not possible. I'd like the focus to change anytime the dropdown is opened and then subsequently closes --
Any suggestions??