Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep caption in checkbox in black print when disa
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00623186
Message ID:
00623193
Vues:
9
>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!

Do not use the caption at all and place a label next to the checkbox.
You can add code to the label click to toggle the checkbox value.

But remember that this way, your users will have no clues of the state of the control...
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform