Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Colors of Command Button
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01460373
Message ID:
01460388
Views:
56
With a bunch of API calls this can be achieved: a bitmap is created on-the-fly with specified background color and caption, and gets assigned to button's Picture property.

Subclassing CommandButton control to create BackColor property
http://www.news2news.com/vfp/?example=392

There are at least two drawbacks in this particular implementation: WordWrap and hot-keys not supported.
Previous
Reply
Map
View

Click here to load this message in the networking platform