Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a combobox based on boolean variable
Message
De
17/03/2006 11:01:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Updating a combobox based on boolean variable
Divers
Thread ID:
01105322
Message ID:
01105322
Vues:
57
Hello,
I am trying to figure out a good way to allow updates to a combobox based on a boolean variable on a WinForm. I do so with a textbox by using the Enter event and setting the readonly to true if the boolean value it true, and then setting it to false in the Leave event. Well since the combobox doesn't have a readonly event, I tried setting enabled to false, but when a combobox is disabled it doesn't seem to be able to fire a Leave event.

Anybody know any good ways of handling this?

Thanks,
Mike
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform