General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only