Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background Colour of Buttons
Message
De
30/08/1999 04:48:47
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00259071
Message ID:
00259074
Vues:
18
>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
Fil
Voir

Click here to load this message in the networking platform