Groups | Blog | Home
all groups > c# > march 2005 >

c# : Forms & Opacity


DalePres
3/16/2005 6:29:23 PM
When you change Opacity from 1.00 to .99, the form has to switch from a
default condition of not using the Opacity setting at all to a condition of
having to calculate and use the Opacity property. A work around is to start
your Opacity at .99.

HTH

DalePres
MCAD, MCDBA, MCSE


[quoted text, click to view]

Adam
3/16/2005 10:56:40 PM
Hi everyone,

I have a simple timer which decreases the Opacity from 1.0 to 0.0 and back
again.

The problem I have is, when it changes from 1.0 to 0.99, the whole form
flickers completely before the smooth fading out. It never does it from 0.0
to 0.1, only from 1.0 to 0.99.

Anyone seen this before?

Cheers

Adam

Adam
3/17/2005 8:57:17 AM
Thanks - I thought it must be something like this.

The downside is that when you have a lot of custom painting going on, its
incredibly slow updating even if your forms set at .99

And amazingly, you can still see through it!

[quoted text, click to view]

AddThis Social Bookmark Button