General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only