General information
Category:
Coding, syntax & commands
Title:
How to SetFocus back to the control in LostFocus event
Hi All,
I need some help in figuring out why this isn't working.
Scenario, I'm creating a utility parse the contents of a field. There are two ComboBoxes one to select the field to be split and one to hold the removed data. I don't want the user to be able to select the same field in both ComboBoxes. So in the LostFocus() event of each ComboBox I compare the values and if they are the same I display a message to the user. I want to be able to SetFocus() back to the ComboBox "This.SetFocus()" doesn't work and "ThisForm.cboFieldList.SetFocus()" doesn't work either.
Thanks in advance for any help.
Aloha,
James
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