Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Box
Message
 
 
À
25/11/1997 08:36:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00062122
Message ID:
00062131
Vues:
20
>I'm trying to discover a way to change the physical color of the 'check' in the check box. I want to toggle the color based upon the results of another logical field. The only color I have found to toggle is the caption and that will not fit my application.

Are you using the Graphical style of check box? If not, you can control the .BackColor and .ForeColor based on .Value

If using Graphical style, all you can control is the caption color (.ForeColor) but the button is either depressed (down) or up depending on .Value. I have used this style and changed the .ForeColor to red when down andblack when up, and changed the .Caption to reflect what has been done. This produces a very dramatic effect.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform