Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the color of a Command Button
Message
De
28/03/2001 13:37:34
 
 
À
28/03/2001 08:14:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00489289
Message ID:
00489553
Vues:
11
>>>Is there a way to change the color of a command button?
>>
>>Assuming you mean the BackColor, not natively. And before you start building your own alternative, do consider what will happen if the user changes his colors in Windows.
>
>One approach would be to use a Graphic command button using the Picture, DownPicture and DisabledPicture to provide various backgrounds; a .BMP can be a solid color if necessary.

But that still doesn't help if the user changes his Windows colors. It's my view that you only change this sort of thing in very special circumstances. Otherwise, you use the colors that the user has chosen.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform