> 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).
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to