On 05/01/2013 11:12, Mattias Gaertner wrote:
On Sat, 5 Jan 2013 07:36:01 -0300
luiz americo pereira camara <[email protected]> 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.
Someone might check WDD?
Though it would be good to at least have an option.
Btw this is not the only one. At least TStatusBar does immediate
repaints too.
And I guess in the case of Statusbar apps might relay on this (showing
the state of a long running task. Not sure if any one out there abuses
TScrollbar for such indication purposes.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus