
Transparent UserControl with transparent label - Anyone?
I'm building a UserControl that has a BackStyle property. The control contains a label which has its own BackStyle property set to Transparent.
When I add my UserControl to a form and the control's BackStyle property is set to Opaque (1) it behaves as expected (the control background is opaque, and the transparent label on it displays its text properly). But when I set the control's BackStyle property to Transparent, then the label on it disappears altogether.
How can I make the text of the label appear (but not it's background) when my usercontrol is set to transparent?
-----------------** -- Posted from CodeGuru -- **-----------------
http://www.*-*-*.com/ ; The website for VB programmers.