Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted (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 by be58d2003
Firefighters do it with a big hose...
  • Administrators
Posted
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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Solution of PlausiblyDamp is way more effective by the way.

As it use directly the Framework to make it transparent.

 

/**Only a comment **/

"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

Posted

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.

 

;)

Firefighters do it with a big hose...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...