Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Does anyone know a way to change the backgroun colour of a button?
>
>If not, is there a freeware control like a button which can have its background changed?
>
>
>Thanks,
(Pls note that normally it shud not be done as its the windows standard color..)
I can think of 2 ways :-
first one is using win32 api, chk the solutions sample->Windows Api->Use api functions that require pointers to array..
Second one is to use following steps to simulate command button :-
1. Copy command button from a form (U can use George Taskers's Obj2Bmp Utility, which can make bmp of forms or objects.. Its avl. in files section..)
2. Open it in paintbrush or some graphical editor and change its color..
3. save the revised bmp file and display on vfp form in image control..
Précédent
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