Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to SetFocus back to the control in LostFocus event
Message
From
06/12/2001 21:21:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to SetFocus back to the control in LostFocus event
Miscellaneous
Thread ID:
00590960
Message ID:
00590960
Views:
66
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
Map
View

Click here to load this message in the networking platform