In vb6 you could set change some property between Transparent and Opaque. What line of code do I need to put in to set a label to have a transparent background. Thanks
Printable View
In vb6 you could set change some property between Transparent and Opaque. What line of code do I need to put in to set a label to have a transparent background. Thanks
no transparent controls :)
you can just change the background to match the background COLOR of the form, but you cant make it transparent.... and yes it sucks:(
I've set the background of a label to transparent if you check the properties for setting the background color you will see a tab with "Web" on it, select this and you will see the transparent background item.
It will work for win forms just the same as for web forms
I think he was asking for something that he could see THROUGH it....Quote:
Originally posted by SAS-Trooper
I've set the background of a label to transparent if you check the properties for setting the background color you will see a tab with "Web" on it, select this and you will see the transparent background item.
It will work for win forms just the same as for web forms
I don't understand?
nishds2 asked:
"set a label to have a transparent background. "
He was asking for a label not a form.
If you check the label property there is a "Web" property for the label this is an item for setting the transparent property and lets you see the form it is placed on or any image that is on the form in the background, meaning coming through the label.
I don't understand what you are saying? MrPolite, transparent means seeing THROUGH it.....
EDIT:
OK, i just checked once again, under Background color properties there are 3 tabs have a look a the "Web" tab there is an item at the top of the list called "Transparent".
Set this and the label background is transparent meaning you can see THROUGH it.....
by that, I mean that setting the bg to transparent will not result in the same thing as it would when you set it to transparent in VB6.... in VB6 you could see the controls under the label, but in vb.net it just matches the background color of the form.Quote:
Originally posted by nishds2
In vb6 you could set change some property between Transparent and Opaque.
nishds asked for how to set it to be like vb6's transparent mode, and I just said that there isnt an equivilant for it, that's all:D