Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement