Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change color of a command button VFP 6
Message
 
 
To
18/09/2002 14:09:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701941
Message ID:
00702121
Views:
37
Herman,

You can use the ActiveX Forms CommandButton class. You can not change the color from the property sheet at design time. You can do it from the command window:

aselobj( lax )
lax[1].object.backcolor = 255

You can freely change it at runtime.

>I have been tring to find how to change the color of a command button but have not been sucessful. How do you change the color of a command button or can it be done.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform