Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable ComboBox Item
Message
 
To
12/05/2008 19:06:41
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01316515
Message ID:
01316532
Views:
14
>>>In VFP, we could disable items in a ComboBox (by prefacing the text with a "\").
>>>
>>>Anybody know how/if I can do this in .NET? I'm talking about WinForm Combos, not ASP.NET.
>>>
>>>I've been Googling for answers and so far have not come up with anything. Any ideas?
>>>
>>>TIA,
>>>~~Bonnie
>>
>>
>>WOW! Bonnie doesn't have the answer??? I'm shocked!.

>
>Ha Ha Ha ... funny guy! You're sure a lot of help! <g>
>
>~~Bonnie

Ok, you're right.

How about:
combo.Items[1].Enabled = false;
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform