Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox - how to highlight it
Message
From
13/01/2011 07:16:48
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01495919
Message ID:
01496010
Views:
141
>Hi Gang!
>
>In setting up a form, I have a lot of spinners and checkboxes on it.
>
>For the checkboxes, I don't have any text beside them.... just empty captions.
>
>When I have the user tab through the items, I want to highlight which item they are on.
>
>Normally, I would use GetFocus and Lostfocus to change the colors of the ForeColor and BackColor of the items.
>
>But when you have no caption, only the empty Caption are shows the color change, not the actual checkbox area itself (the white background and black checkmark itself).
>
>So..... is there a way to change the white background of the checkbox and the the actual black color of the checkmark itself ?
>
>Thanks!


HI,

try if set Themes=ON on the checkbox will help. In my case (OS Win7) the background of the checkbox gets highlighted in soft blue

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform