Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graphical checkbox
Message
From
16/12/2003 13:21:20
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00858752
Message ID:
00859579
Views:
14
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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform