Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox - how to highlight it
Message
De
13/01/2011 07:16:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01495919
Message ID:
01496010
Vues:
142
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform