[Lazarus] Repainting of TWinControl children

gabor gabor at poczta.onet.pl
Wed May 6 21:14:48 CEST 2020


W dniu 2020-05-04 o 17:33, Martin Grajcar via lazarus pisze:
>    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.

The TCustomControl class inherits from TWinControl class so problem must 
be somewhere else.

Michał.


More information about the lazarus mailing list