
BUG: Transparent Label on Transparent Control Does Not Display
Quote:
> http://support.microsoft.com/kb/179052/en-us
> Exists any solution?
How about capturing the image under your control and painting it to
the background of your (opaque) control? Quick example:
(Place a lable control or two on your control and set _their_
back style to transparent, but set the usercontrol back style to
opaque) Add a picture to the form and add the control.
Resize the control (on the form) to refresh the image....
' Paste to User Control
Private Sub UserControl_AmbientChanged(PropertyName As String)
Refresh
End Sub
Private Sub UserControl_Paint()
With UserControl
.PaintPicture .Parent.Picture, 0, 0, .Width, .Height, .Extender.Left, .Extender.Top, .Width, .Height
End With
End Sub