[Lazarus] Visual "uglyness" when creating TSynEdit @ runtime in my app
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Jan 5 12:12:28 CET 2013
On Sat, 5 Jan 2013 07:36:01 -0300
luiz americo pereira camara <luizmed at 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
More information about the Lazarus
mailing list