Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background Colour of Buttons
Message
From
30/08/1999 04:48:47
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00259071
Message ID:
00259074
Views:
17
>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..
Previous
Reply
Map
View

Click here to load this message in the networking platform