Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Box
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00062122
Message ID:
00062131
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform