Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change fore color of disabled combo box ?
Message
From
03/12/2010 08:17:15
 
 
To
03/12/2010 08:11:07
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01491658
Message ID:
01491660
Views:
48
>Hi,
>I want to change fore color of disabled combo box,
>it only grey only.
>
>Please advise.
>
>Derek Yim

Set:

DisabledItemBackColor, DisabledItemForecolor

and

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

in form's init after all controls have been instantiated
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform