Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the colours of command buttons
Message
De
09/09/2004 10:56:53
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
09/09/2004 10:21:11
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00940633
Message ID:
00940654
Vues:
18
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform