|
-
Dec 21st, 2009, 09:06 AM
#1
Thread Starter
Hyperactive Member
VB2008: [Resolved] transparent form but visible controls?
if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!
how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??
Last edited by phil2000; Dec 22nd, 2009 at 12:56 PM.
-
Dec 21st, 2009, 10:04 AM
#2
Re: VB2008: transparent form but visible controls?
Set the background colour of the form to an obscure colour that you won't ever want to use on the form, then set the form's transparencykey to that precise colour. Then every pixel of your selected colour will become transparent.
-
Dec 21st, 2009, 02:05 PM
#3
Re: VB2008: transparent form but visible controls?
You also want to set your FormBorderStyle to None in your form properties.
-
Dec 22nd, 2009, 12:55 PM
#4
Thread Starter
Hyperactive Member
Re: VB2008: transparent form but visible controls?
soooooooooooooooooo simple! 
ty for the help, mates!
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
|