Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color of my disabled combobox

Status
Not open for further replies.

INFORMAT

Programmer
Jan 3, 2001
121
BE
Hi,

I have a little lay-out problem: when I disable my combobox, the text in it is not readable. Is there a way to display it more readable?

I tried to set the disabled foreground/background color but it doesn't work at all!

Can anyone help me?
 
Hello.


Set the combo to be read-only.

Hope this helps
Grigore Dolghin
Class Software
Bucharest, Romania
 
In the Init Event of the FORM put the following code

This.SetAll("DisabledBackColor",RGB(255,255,192),"TextBox")
This.SetAll("DisabledBackColor",RGB(255,255,192),"ComboBox")
This.SetAll("DisabledBackColor",RGB(255,255,192),"EditBox")

This could fix your problem. You can choose a suitable RGB to your choice.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
try DisabledItemBackColor, DisabledItemForecolor. Have fun.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top