Forms & Opacity

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

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
 
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
 
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!
 
Back
Top