468,457 Members | 1,762 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Background color of transparent on a label shows form not what's underneath it.

UJ
I have a browser object on a form with a label in front of it. I want the
label to be transparent so that you can see what's going on in the browser
behind it. When I make the label transparent (backcolor = color.transparent)
what it shows is the window, not the control behind it.

What am I doing wrong?

TIA - Jeff
Jan 5 '06 #1
2 1854
Jeff,

I'm not sure that what you are trying to do is possible, but it sounds like
your label is being parented by the form instead of the browser. In code,
try setting the label's parent to the browser instead of the form.

--
Colin Neller
http://www.colinneller.com/blog
"UJ" <fr**@nowhere.com> wrote in message
news:e0*************@tk2msftngp13.phx.gbl...
I have a browser object on a form with a label in front of it. I want the
label to be transparent so that you can see what's going on in the browser
behind it. When I make the label transparent (backcolor =
color.transparent) what it shows is the window, not the control behind it.

What am I doing wrong?

TIA - Jeff

Jan 5 '06 #2
UJ
Thanks but that doesn't seem to work. I checked in the debugger and the
parent is the web browser but transparent still shows the form not the
webbrowser.

"Colin Neller" <cn*****@gmail.com> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl...
Jeff,

I'm not sure that what you are trying to do is possible, but it sounds
like your label is being parented by the form instead of the browser. In
code, try setting the label's parent to the browser instead of the form.

--
Colin Neller
http://www.colinneller.com/blog
"UJ" <fr**@nowhere.com> wrote in message
news:e0*************@tk2msftngp13.phx.gbl...
I have a browser object on a form with a label in front of it. I want the
label to be transparent so that you can see what's going on in the browser
behind it. When I make the label transparent (backcolor =
color.transparent) what it shows is the window, not the control behind it.

What am I doing wrong?

TIA - Jeff


Jan 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Tania | last post: by
11 posts views Thread by Konrad Den Ende | last post: by
4 posts views Thread by Keon | last post: by
3 posts views Thread by bulwark_jrm | last post: by
1 post views Thread by Peter Newman | last post: by
8 posts views Thread by Brian Ward | last post: by
9 posts views Thread by =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.