Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change BG Color on Command Button
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00430072
Message ID:
00430759
Views:
8
Sam,

Please e-mail me a copy at your convenience.

Thanks you very much!
Roland...

=======================================

>>Hi,
>>
>>How do you change the backcolor color of a Command Button? Can't seem to get it to change.
>>
>>Thanks in advance!
>>Roland...
>
>I have a container class that I wrote to behave "just like a command button" it allows for color change. It defaults to getting darker (or lighter) if pressed and it "presses". You code for it pretty much just like a button.
>
>We use it in our production code, so we know it will hold up to real world use.
>
>It's not to difficult to do yourself. Its a container that messes with the .specialeffect properity and some of the back colors and stuff. it contains a label (for the caption) and a shape, and it should contain a hidden (visible, but very tiny) command button to receive focus. Just tap into the MouseDown / MouseUp / Click events of the shape.
>
>If you would like a copy just drop me a line.
>
>-Sam
Previous
Reply
Map
View

Click here to load this message in the networking platform