[Lazarus] Animation library

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 27 23:49:42 CET 2017


On Mon, 27 Feb 2017 13:55:47 +0100
José Mejuto via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> Finally I end with and alpha version which I wish to share with the 
> community to get a bit of feedback before include it in Lazarus CCR or 
> maybe in LCL itself.

Instead of Repaint it should use Invalidate.

And when changing multiple LCL properties, you should enclose it in
DisableAutoSizing/EnableAutoSizing.

For example:
  DisableAlign;
  AnimationQueue.PaintAll;
  EnableAlign;


Mattias


More information about the Lazarus mailing list