Transparent - does it work?

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

I've got multiple controls on a win forms page - and I have a panel that I
want the user to be able to click on to have something happen which I have
put on top of some of the control. I make the panel transparent but it
doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind it,
not the form?

What I'm really trying to do is have a shockwave or browser control be able
to be clicked and something happen. I don't want the normal clicking like on
a web site to happen.

Any suggestions?

TIA - Jeff.
 
Transparency works with respect to the parent. It doesn't work as you might
imagine it would, where .NET actually figures out the z order of everything,
and displays objects based on that.

Since the panel's parent is the form, it just shows the form
 
Thanks for the info. But that article appears to work only with static
images/items. I need to make a panel that is transparent to a web
browser/shockwave file that can be changing.

Jeff.
 
u can make the form transparent as well and than u will be bale to see whats
behind it
 
Back
Top