PC Review


Reply
Thread Tools Rate Thread

toggle Windows.Forms.ComboBox item enabled

 
 
GiJeet
Guest
Posts: n/a
 
      14th Nov 2008
hello, I can’t seem to find anything about toggling an item in a
combobox to enabled = true / enabled = false

this.cbColor.Items.Add("Red");
this.cbColor.Items.Add("White");
this.cbColor.Items.Add("Blue");
int index = cbColor.FindString("White");
//if White is found, disable it but show it in the combobox

How to toggle an item in a combobox but keep it displayed just
disabled?

TIA
G
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
toggle button should change tooltip on toggle? not_a_commie Microsoft C# .NET 1 3rd Aug 2010 02:23 AM
Toggle Challenge - Toggle button to show or hide a subform Toucan Microsoft Access 6 16th Oct 2008 11:22 AM
"Toggle total row" button not enabled in Excel 2003 =?Utf-8?B?ZG9taW5pY19ob3dkZW4=?= Microsoft Excel Misc 0 12th Apr 2006 09:21 AM
check box to toggle controls enabled not working on saved records Darryn Microsoft Access Form Coding 4 25th Oct 2003 05:10 AM
cookies enabled but hotmail won't open stating cookies are not enabled dorr tippens Windows XP Internet Explorer 1 26th Jul 2003 01:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.