|
-
Nov 19th, 2002, 09:30 PM
#1
Thread Starter
Hyperactive Member
Transparent Form
I'm just wondering, how can I make the Form Transparent in VB.NET?
-
Nov 19th, 2002, 09:53 PM
#2
Member
look in your form properties, there is an "opacity" setting 
Hope this helps
-
Nov 20th, 2002, 12:23 AM
#3
PowerPoster
I think you can only set if from 0 to 1 though, so try .5 for half way transparency.
-
Nov 20th, 2002, 12:44 AM
#4
Member
Originally posted by hellswraith
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)
-
Nov 20th, 2002, 12:57 AM
#5
PowerPoster
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
-
Nov 20th, 2002, 01:03 AM
#6
Member
ahh i see... kinda silly to make it that way imo :\
-
Nov 20th, 2002, 01:48 AM
#7
PowerPoster
I think it wasn't good design either. Should have just been percent the whole way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|