Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable ComboBox Item
Message
From
12/05/2008 20:53:49
 
 
To
12/05/2008 20:27:38
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01316515
Message ID:
01316545
Views:
10
I was going to reply before, after I looked it up and can only see the owner. But I haven't found any examples of enabling/disabling using it. Just changing the size of the item or the color. So it seems to be used more for display properties of drawing something rather then event properties, so to speak.

Actually, here someone responds to this exact question, asking why you just wouldn't remove the disabled items from the list and just not display them:

http://discuss.develop.com/archives/wa.exe?A2=ind0304c&L=dotnet-winforms&D=0&P=4465


>>>Ha Ha Ha ... funny guy! You're sure a lot of help! <g>
>>>
>>
>>Ok, you're right.
>>
>>How about:
>>
>>
>>combo.Items[1].Enabled = false;
>>

>
>Funny guy again! If it was that easy, I wouldn't have to ask. <g>
>
>I'm playing with the owner-drawn stuff right now. It's not a 100% good solution, but I'm trying to refine it a bit.
>
>~~Bonnie

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform