Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to SetFocus back to the control in LostFocus event
Message
De
06/12/2001 21:21:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to SetFocus back to the control in LostFocus event
Divers
Thread ID:
00590960
Message ID:
00590960
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform