How to eliminate the blue background from a disabled combobox
Posted on 2004-04-28
I have a form with several controls, including a combobox. The formcreate calls a procedure to fill the edits, which are left as not enabled until an Edit button is pressed. My problem is that the combobox is set to the ItemIndex = 0, and then a blue background is shown on it instead of the DisabledColor. The combobox is not enabled, but it shows the referred background. How can I have it show the default value but keep the defined DisabledColor? I also have this problem in certain TEdits, where the blue background is shown partially on the TEdit box.