Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep caption in checkbox in black print when disa
Message
 
 
À
21/02/2002 11:17:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00623186
Message ID:
00623187
Vues:
10
>I have a bunch of checkboxes. The checkboxes are disabled, until user click on 'UPDATE' button. When the checkboxes are disabled (.ENABLED=.F.), the caption is grayed out / shadowed. Changing the .DISABLEDFORECOLOR to black makes it worst: it becomes dotted. I'd like the check box to be grayed out when disabled, but would like to keep the caption to be black for easy reading. Is there a way to do this without using a separate label control for the caption? (same thing happens with option buttons).
>
>Thanks all!

Set DisabledForeColor to 64,64,64 We have this setting in our base checkbox class, and it works fine.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform