Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background Color for Command Buttons
Message
From
14/06/2001 12:10:50
 
 
To
06/06/2001 09:12:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514892
Message ID:
00519471
Views:
16
Brad,

Thanks for the suggestion--and all the others I received!

The solution that works best is indeed to use the container. I created a class that includes a picture and label. In the Click method of those you simply call the container Click method. The MouseDown and MouseUp events are responsible for setting the SpecialEffect property of the container to Sunken and Raised.

There is a secret, however, which you hinted at: You have to set the visible property or else the container won't change. This is a bug documented in MSDN Q170597.

Otherwise it works great. Thanks to all who offered suggestions!

Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform