Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox appearance
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Checkbox appearance
Miscellaneous
Thread ID:
00329512
Message ID:
00329512
Views:
51
I am using a checkbox control bound to a logical field that has Style=Graphical and hence a commandbutton-type appearance in place of a standard little checkbox. There is code in the valid() to toggle the caption ("Yes"/"No") of the control depending on whether the checkbox is "checked" or not. Of course, since the style is graphical, you don't see the check. It works great, and is a cool alternative to the default checkbox with only one problem: when the Value=1 (i.e. toggled to "Yes") the commandbutton-like control has a grainy unattractive appearance.

Here's the question: is there any way I can prevent the grainy appearance when it it "checked?" I'd like to be able to change the color, but I'll settle for just keeping it the same background appearance for both states. I can't see any property of the checkbox class similar to a "SelectedBackColor" for example on other controls.

Thanks!

Jim
Jim Wheelock
Next
Reply
Map
View

Click here to load this message in the networking platform