Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the colours of command buttons
Message
From
09/09/2004 10:56:53
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
09/09/2004 10:21:11
Brian O'Donovan
Crescent Computers
Cork, Ireland
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00940633
Message ID:
00940654
Views:
19
Hi Brian,

>Hi All
>I am designing a new version of a bar/restaurant system. I would like this time to use command buttons to act as product buttons on a till, however I would like to be able to change the backround color of the command buttons, depending on the type of product it sells. Any idea's , instead I would have to use shapes/pictures which require more work for me !!!!
>Thanks
>Brian O Donovan

In VFP8 or higher, you can to use BackColor property of Command. Eg.:
MyCmdButton.BackColor = "0,0,255"  && RGB Color
* Or
MyCmdButton.BackColor = RGB(0,0,255)
Bye!
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform