|
Hi All Developers I have A Problem :
How I can Change Opacity Of a Control IN Windows Application C#.net .. I Know How I can Change Form Opacity But How we can Change Control Opacity Like A button.
Thanx Developers
|
|
|
|
|
Why Are All Your Questions Written In Title Casing? It Looks Really Dumb In Normal Sentences. Stop It.
|
|
|
|
|
The native button doesn't support transparancy.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
the transparece color on the form can be used for this if he choses the transparece color to be the same of the button? or this would just make a hole in the form?
(like when you set the transparece color to be white and put a textbox on the form)
the form is really the only control that suport transparece?
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)
|
|
|
|
|
Sentenryu wrote: the transparece color on the form can be used for this if he choses the transparece color to be the same of the button? or this would just make a hole in the form?
It would show the button, as the button is not opaque, does it's own drawing, and knows nothing about all the fancy transparencies.
The simple solution is to use a label.
Sentenryu wrote: the form is really the only control that suport transparece?
Traditionally, even the form did not support that. I still do not see any added value in having the option.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
agreed, the only use for transparence in a form is to make that fancy game menus as mass effect have, but even then the usefulness of this is questionable...
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)
|
|
|
|
|
What about the Johnny Foreigner button?
|
|
|
|
|
Controls don't support opacity, only forms do.
The only way to make it work is to create your own version of the controls you want and paint them yourself.
Or, use WPF instead of Windows Forms, but if you're not familiar with WPF the learning curve is pretty steep.
|
|
|
|