[Lazarus] Visual "uglyness" when creating TSynEdit @ runtime in my app
Martin
lazarus at mfriebe.de
Sat Jan 5 12:19:46 CET 2013
On 05/01/2013 11:12, Mattias Gaertner wrote:
> 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.
>
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.
More information about the Lazarus
mailing list