We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Combo box BackColour

Thread ID:

Created:

Updated:

Platform:

Replies:

905 Sep 2,2002 04:41 AM Oct 20,2004 12:12 AM Windows Forms 2
loading
Tags: FAQ
julian jelfs
Asked On September 2, 2002 04:41 AM

Hi, Is there any way to stop a ComboBox becoming almost invisible when its Enabled property is set to false. i.e. I would like to be able to change the BackColor back to what it was before I disabled it - this works for text boxes but not for ComboBoxes. I really don't want to have to create my own ComboBox class just to do this. Thanks in advance.

Matthew
Replied On October 8, 2002 06:19 AM

I have the same problem, it seems ridiculus having to create your own derived combobox control just to handle the colors better, the callendar control has the same problem when it's disabled, you can't set the bg or fg colors. Did you find a solution? --Matt-- > Hi, > > Is there any way to stop a ComboBox becoming almost invisible when its Enabled property is set to false. i.e. I would like to be able to change the BackColor back to what it was before I disabled it - this works for text boxes but not for ComboBoxes. I really don't want to have to create my own ComboBox class just to do this. > > Thanks in advance.

Administrator [Syncfusion]
Replied On October 20, 2004 12:12 AM

Write your own control inherit from the combobox then display a label when disable is set. >I have the same problem, it seems ridiculus having to create your own derived combobox control just to handle the colors better, the callendar control has the same problem when it''s disabled, you can''t set the bg or fg colors. Did you find a solution? > >--Matt-- >> Hi, >> >> Is there any way to stop a ComboBox becoming almost invisible when its Enabled property is set to false. i.e. I would like to be able to change the BackColor back to what it was before I disabled it - this works for text boxes but not for ComboBoxes. I really don''t want to have to create my own ComboBox class just to do this. >> >> Thanks in advance.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;