468,532 Members | 1,743 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,532 developers. It's quick & easy.

Opaque controls?

UJ
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.

Thanks.

Jeff.
Jan 3 '06 #1
6 3572
UJ <fr**@nowhere.com> wrote:
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


Do you mean (semi)transparent rather than opaque?

I don't believe there's any way of doing so currently. WPF (Avalon)
will have a lot of transparency control, although I doubt it extends to
non-Avalon controls.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Jan 3 '06 #2
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Jan 3 '06 #3
UJ
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or a
label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Jan 3 '06 #4
You can set a forms transparency using the Opacity property?

Do this help?

Yosh
"UJ" <fr**@nowhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or
a label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


Jan 4 '06 #5
UJ
Is that for everything on a form or just specific items. I need to be able
to do specific items.

Jeff.

"Yosh" <yo***@nospam.com> wrote in message
news:e4*************@TK2MSFTNGP11.phx.gbl...
You can set a forms transparency using the Opacity property?

Do this help?

Yosh
"UJ" <fr**@nowhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or
a label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.

What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



Jan 4 '06 #6
UJ" <fr**@nowhere.com> wrote in message
news:eH*************@tk2msftngp13.phx.gbl...
Is that for everything on a form or just specific items. I need to be able
to do specific items.

Jeff.

"Yosh" <yo***@nospam.com> wrote in message
news:e4*************@TK2MSFTNGP11.phx.gbl...
You can set a forms transparency using the Opacity property?

Do this help?

Yosh


I'm afriad Winforms doesn't support semi-transparancy of controls only of
top level windows. As Jon pointed out, to get this sort of behavior you will
have to wait for WPF (formally known as Avalon) as this graphics engine (not
GDI based) has full support for transparency

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Jan 5 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Capstar | last post: by
2 posts views Thread by jashugun | last post: by
18 posts views Thread by chankl | last post: by
3 posts views Thread by Ernesto Bascón | last post: by
5 posts views Thread by Prisoner at War | last post: by
3 posts views Thread by Sin Jeong-hun | last post: by
27 posts views Thread by Nate Eldredge | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.