Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make the command button obvious when got focus
Message
De
15/07/2005 17:07:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01032562
Message ID:
01033211
Vues:
19
I use GetSysColor() (a windows API), but remind me on Monday, have to run out now, and I'll find the code.

>Hi Frank
>
>>I had previously done this by adding a container around every command button when it got focus (and removing it when it lost focus). The container was opaque and set to the current windows highlight colour. Not sure how that would work in a grid though.
>
>Thanks for your suggestion. I was not able to explain better but actually this command button and the grid are both inside a container. I can put this command button inside a smaller container which can then work as you have suggested. Any function to return the current windows hightlight color?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform