transparancy on a control in C#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2008
Posts: 3
Reputation: isiebe is an unknown quantity at this point 
Solved Threads: 0
isiebe isiebe is offline Offline
Newbie Poster

transparancy on a control in C#

 
0
  #1
Apr 18th, 2008
hi,

is it possible to make any control (like button/textfield) transparant, just like the "alpha" method in flash?

tnx
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,293
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: transparancy on a control in C#

 
0
  #2
Apr 18th, 2008
Yes, if you are using visual studio you can select the control, view properties and under the 'colour' property (I think its called that - don't have VS in front of me) choose Alpha - I believe it is under the 'web' tab. Hope this helps!
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 3
Reputation: isiebe is an unknown quantity at this point 
Solved Threads: 0
isiebe isiebe is offline Offline
Newbie Poster

Re: transparancy on a control in C#

 
0
  #3
Apr 18th, 2008
Originally Posted by majestic0110 View Post
Yes, if you are using visual studio you can select the control, view properties and under the 'colour' property (I think its called that - don't have VS in front of me) choose Alpha - I believe it is under the 'web' tab. Hope this helps!
Tnx, but that's not what I exactly needed,
is it possible to make full controls semi-transparent, lik you give an transparency percentage... with the ultimate goal to animate a control fading away

tnx
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,293
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: transparancy on a control in C#

 
0
  #4
Apr 18th, 2008
Are you more looking for a user control that controls a form's visibility like this :

If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,602
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 130
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: transparancy on a control in C#

 
0
  #5
Apr 19th, 2008
What the original poster needs is WPF (Windows Presentation Foundation) that is built into .NET 3.0.

Setting transparency of a control is as simple and easy as Opacity = 0.6 or something similar.

Of course, I could understand if you dont want to learn WPF for such a simple problem, except I don't have anything up my sleeve.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC