Transparent Forms?

H

Howard Swope

We recently converted our .Net 1.1 app over to 2.0 and now our transparent
forms are behaving differenctly. I was hoping someone might be able to shed
some light on this issue...

We have a windows form that is transparent. We set the background image to
be a gif image that contains a transparency. Under .Net 1.1 we were able to
"see through" the image transparency to the desktop below. Now in .Net 2 we
are seeing the default windows form color.

I tried to set the form style to allow for transparent backcolor and I set
the back color to transparent. This has no effect.

How can I fix this?

Thanks
 
S

Steve

Have you checked the TransparencyKey property of the form? I believe you
have to set that as well.


Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 
H

Howard Swope

Thanks Steve, that did the trick.

Steve said:
Have you checked the TransparencyKey property of the form? I believe you
have to set that as well.


Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top