Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make the command button obvious when got focus
Message
From
15/07/2005 17:07:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01032562
Message ID:
01033211
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform