Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the color of a Command Button
Message
From
28/03/2001 08:14:43
 
 
To
28/03/2001 08:07:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00489289
Message ID:
00489374
Views:
9
>>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform