Click here to Skip to main content
15,991,109 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I add a picture box in form1 & set to background image & set to back color is transparent.
I add a label into the picture box & set to backcolor is transparent.

But not showing the transparent of the label....

How will solve the above problem???
Please help me....
Posted

1 solution

Transparent doesn't work the way you think it does. A Transparent backcolor tells the control to use the background settings of the control containing the control. So, if your picturebox control has it's BackColor set to Black, the Label will have it's background painted Black. The control is NOT transparent.

Google for "Transparent Label Control". There's tons of examples on how to create you own Label control is is transparent.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900