TransparancyKey and form opacity

M

Mattps

In Visual Basic 2008, I am using the TransparancyKey form property to create
a irregular Windows form using an image. I would like to fade in and out this
form. However, I I change the form's opacity from 100% to 99% the
Transparacykey stops working. I am assuming that this is because the color
set in the Transparancykey's properties no longer matches any colour on the
form. But.. this did work in a previous project.

Can anyone shed some light on this?

Matt
 
A

Armin Zingler

Mattps said:
In Visual Basic 2008, I am using the TransparancyKey form property to
create a irregular Windows form using an image. I would like to fade
in and out this form. However, I I change the form's opacity from
100% to 99% the Transparacykey stops working. I am assuming that this
is because the color set in the Transparancykey's properties no
longer matches any colour on the form. But.. this did work in a
previous project.

Can anyone shed some light on this?

I can't repro the problem. Those parts with the transparency color are
completely transparent. The other parts are as transparent as specified by
the opacity property. (VB 2008 too)


Armin
 
A

Armin Zingler

Mattps said:
In Visual Basic 2008, I am using the TransparancyKey form property to
create a irregular Windows form using an image. I would like to fade
in and out this form. However, I I change the form's opacity from
100% to 99% the Transparacykey stops working. I am assuming that this
is because the color set in the Transparancykey's properties no
longer matches any colour on the form. But.. this did work in a
previous project.

Can anyone shed some light on this?

I can't repro the problem. Those parts with the transparency color are
completely transparent. The other parts are as transparent as specified by
the opacity property. (VB 2008 too)


Armin
 

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