Forms & Opacity

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
 
D

DalePres

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
 
A

Adam

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!
 

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