Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How we change the Background Color of Command Button
Message
 
 
To
05/03/2003 22:24:41
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00757931
Message ID:
00761988
Views:
32
Sunny,

>Are u suggesting me to create AxitveX buttons on my own ? Please shed more light on MS ActiveX buttons.

Nope, I'm suggesting that you use the ActiveX Forms controls that ship with VFP. When you choose Insert Control select the item named Microsoft Forms 2,0 CommandButton.

You can not use the property sheet to edit the backcolor, but you can do it at design time like this from the command window with the button selected:
aselobj( laButton )
labutton[1].object.BackColor = 255
or at runtime with
thisform.cmdMyButton.object.BackColor = 255
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