Transparent UserControl with transparent label 
Author Message
 Transparent UserControl with transparent label

I'm building a UserControl that has a BackStyle property. The control contains a label which has it's 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.



Fri, 18 Jan 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Transparent UserControl with transparent label - Anyone?

2. transparent OCX with transparent label

3. BUG: Transparent Label on Transparent Control Does Not Display

4. Transparent Label on Transparent User Control Problem

5. BUG: Transparent Label on Transparent Control Does Not Display

6. UserControl With Transparent Label

7. Labels - Transparent labels flash whenever they get changed

8. Transparent MSChart ctrl or transparent PictureBox

9. Transparent controls are not Transparent in VC++

10. Transparent Form Is Not Transparent

11. Looking for Transparent OCX to make forms transparent

12. Transparent font on PictureBox, and not transparent on the printer

 

 
Powered by phpBB® Forum Software