On Mon, Jan 13, 2020 at 10:51 AM Marc Weustink via lazarus <lazarus@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. Juha -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus