Link to home
Start Free TrialLog in
Avatar of duke_n
duke_n

asked on

Form Repaint

I tried to simulate an effect of one form sliding from another. during that, the "upper" one have horribly flickered. Is there a way to stop it from repainting itself while the "lower" one is sliding, and then let it repaint itself back again as mch as it wants(as I pretend to myself, this is the way to make it stop flickering. If the way differs, please put the working way here)?
Avatar of inthe
inthe

Hi
look at beginupdate and endupdate in the delphi help.
also remember application.processmessages
that should help some

Try:

- Double buffered property (Delphi 4)
- LockWindowsUpdate(...)
ASKER CERTIFIED SOLUTION
Avatar of cookey
cookey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of duke_n

ASKER

BOY! are you fast or are you fast?
I'll check it now
Avatar of duke_n

ASKER

It worx perfectly, muchachos.
thanx
Avatar of duke_n

ASKER

Oh, MAN!
this flashes the background windows if there are some when I do the
  LockWindowUpdate(0);