sdlangers Posted May 11, 2004 Posted May 11, 2004 hi, is there a way to set the forms opacity to 0% while still being able to see a control (say a label/textbox) on that form? in other words, have it so it looks like the text is simply sitting on the background? thanks Quote
be58d2003 Posted May 12, 2004 Posted May 12, 2004 (edited) Interesting... I tried setting opacity to 0% and nothing showed up!? In response to your question, I am thinking the only option is for you to create a transparent background image (.gif) in a paint program (e.g. Paint Shop Pro) and set the background image on your form as such, and then add your controls. Edited May 12, 2004 by be58d2003 Quote Firefighters do it with a big hose...
Administrators PlausiblyDamp Posted May 12, 2004 Administrators Posted May 12, 2004 You could create a form, set the FormBorderStyle property to none. Give the form a non-standard back colour and use the same colour for the form's transparency key. Drop your controls on to the form and it should do what you require. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Arch4ngel Posted May 12, 2004 Posted May 12, 2004 Solution of PlausiblyDamp is way more effective by the way. As it use directly the Framework to make it transparent. /**Only a comment **/ Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
be58d2003 Posted May 13, 2004 Posted May 13, 2004 Comment taken well, I forgot about the ability to change the color of the transparency key... So I hadn't tried it. Maybe I will look into that, next time I need it. ;) Quote Firefighters do it with a big hose...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.