[Lazarus] Unneeded Paint calls from LCL

Juha Manninen juha.manninen62 at gmail.com
Wed Jan 15 12:02:29 CET 2020

On Mon, Jan 13, 2020 at 10:51 AM Marc Weustink via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> IMO paint should be never called directly. When resizing, invalidate
> should be called (so one pain message is issued after the resize)

I understood that Paint gets called by LCL excessively when a form is
created or shown. Yes, I guess it should be optimized.
Debugging the events flowing back and forth is challenging. Placing
DebugLn() lines into relevant event handlers is the best way. And yes,
it partly happens in widgetset code.


More information about the lazarus mailing list