Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change BG Color on Command Button
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00430072
Message ID:
00430226
Views:
12
>Hi,
>
>How do you change the backcolor color of a Command Button? Can't seem to get it to change.
>
>Thanks in advance!

Roland,

As others have mentioned you can't. However, you may already have the control you need in the Microsoft Forms 2.0 Commandbutton ActiveX control. Unfortunately, you can't set the back color in design mode, but by placing:

This.BackColor = lncolor && desired color

in the control's Init will produce the desired result.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform