In a large project I found out that after on resizing of the form, some components get properly resized but don't receive an Invalidate call. I guess, it's caused by the test in lcl/include/control.inc
if not ((csLoading in ComponentState) or (Self is TWinControl)) then
InvalidateControl(IsControlVisible, False, true);Our component extends TCustomControl, so it doesn't get invalidated. I guess, such components are supposed to use a different mechanism, but I can't see how? Can someone point me to the right doc. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200504/c2ca71a6/attachment.html>
