-
Form Transparency
In my Project I have a Label1 in a Form. I set the Label1 BackColor to Transparent.
I change the Form BackColor to Transparent but it doesn’t work, so I try Opacity and set it to 5%. But when I Debug the program, I cannot see the Label1.
All I want to happen is, when I Debug the program, the Form is transparent and the Label1 is visible. I think opacity is not the answer here.
Anybody have a solution here?
-
if you set a color transparent, that control get the color of the form. It does not really get transparent, so when you change the opacity of the form, the form will get sort of transparent, but you'll always see the label.
-
Make the color of your form a color you will never use on it, such as blue.
Then at the bottom of the properties, there is a transparency key, set that to the same color as the background of your form.
Now your form should be transparent.