The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
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.
ADAdministrator Syncfusion Team October 20, 2004 04:12 AM UTC
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.