Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Graphical checkbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00858752
Message ID:
00859579
Vues:
15
Hi David,

I tried that. It works in the sense that the color of the caption's font on the checkbox is changed but I'd like to change the color of the button itself.


>You could do the following:
>
>Interactive Change Method of Checkbox(assuming you are using .T.,.F. values)
>IF This.Value
> This.FontBold = .T.
> This.Forecolor = RGB(255,0,0)
>ELSE
> This.FontBold = .F.
> This.Forecolor = RGB(0,0,0)
>ENDIF
>
>You could also set the background color or any other property depending upon how you actually want to make it look.
>
>Hope this helps!
>
>Dave :-)
>
>>When a checkbox's style is set to graphical, is there anyway to modify its appearance when it is selected? I would like to change its color if it is selected since by default it is difficult to determine whether or not it is chosen or not.
.·*´¨)
.·`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