On Sat, 5 Jan 2013 07:36:01 -0300
luiz americo pereira camara <luiz...@oi.com.br> wrote:

>[...]
> I've found a suspect.
> 
> SetParent triggers the handle creation
> TSynEdt.CreateWnd calls SizeOrFontChanged that calls UpdateScrollBars
> Here, since PaintLock <> 0 the scrollbar change is postponed

UpdateScrollBars should not trigger an immediate repaint.

Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to