Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a combobox based on boolean variable
Message
From
17/03/2006 11:01:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Updating a combobox based on boolean variable
Miscellaneous
Thread ID:
01105322
Message ID:
01105322
Views:
58
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/
Next
Reply
Map
View

Click here to load this message in the networking platform