[Lazarus] repaint method on Darwin/Carbon

dmitry boyarintsev skalogryz.lists at gmail.com
Tue Feb 10 16:49:13 CET 2009


> 1. like dmitry says - Carbon/Cocoa & Qt on all platforms does not allow
> paintings outside of paint event.
> 2. Calling repaint is very expensive (CPU), try with YourControl.Invalidate;
> or YourControl.Update;

Invalidate and Update will take effect only if messages queue is
processed (by ProcessMessages or PostMessages if blocked by an event).



More information about the Lazarus mailing list