Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change fore color of disabled combo box ?
Message
De
03/12/2010 08:17:15
 
 
À
03/12/2010 08:11:07
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01491658
Message ID:
01491660
Vues:
49
>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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform