Vermeij
asked on
Transparency of a label on a picturebox
When a label is placed on top of a picturebox containing an image,
and the backcolor of the label is set to transparent, it does not work.
The backcolor of the label is stil grey. How can I fix this ???
Thanks...
and the backcolor of the label is set to transparent, it does not work.
The backcolor of the label is stil grey. How can I fix this ???
Thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
One way around this is to use a Panel control instead of a PictureBox. Set the BackgroundImage property to the picture you want to display and place the Label inside the Panel. Now when the BackColor of the Label is set to Transparent, the picture will show through the Label as expected.
Regards,
Idle_Mind