Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the color of a Command Button
Message
From
28/03/2001 13:37:34
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00489289
Message ID:
00489553
Views:
16
>>>Is there a way to change the color of a command button?
>>
>>Assuming you mean the BackColor, not natively. And before you start building your own alternative, do consider what will happen if the user changes his colors in Windows.
>
>One approach would be to use a Graphic command button using the Picture, DownPicture and DisabledPicture to provide various backgrounds; a .BMP can be a solid color if necessary.

But that still doesn't help if the user changes his Windows colors. It's my view that you only change this sort of thing in very special circumstances. Otherwise, you use the colors that the user has chosen.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform