I'm just wondering, how can I make the Form Transparent in VB.NET?
Printable View
I'm just wondering, how can I make the Form Transparent in VB.NET?
look in your form properties, there is an "opacity" setting :)
Hope this helps
I think you can only set if from 0 to 1 though, so try .5 for half way transparency.
It's a percentage... you can have from 0% (invisible) to 100% (fully opaque)Quote:
Originally posted by hellswraith
I think you can only set if from 0 to 1 though, so try .5 for half way transparency.
Only during design time does it deal in percentages. When you try to set it in code, you will need to set it from 0 to 1.
Right way:
me.Opacity = .5
Wrong way:
me.Opacity = 50
ahh i see... kinda silly to make it that way imo :\
I think it wasn't good design either. Should have just been percent the whole way.