[Lazarus] Understanding TWidgetset

Paul Ishenin webpirat at mail.ru
Mon Mar 29 15:28:33 CEST 2010


29.03.2010 21:13, José Mejuto wrote:
> Now I'm trying to deal with
> TLabel, but it is not a TWinControl, so I'm lost how it gets draw in
> the form :-?
>    
TWinControl paint handler draws child controls on own canvas. It clips 
their rect by requested rectangle and offsets (0, 0) corrd to control 
Left,Top. So control thinks that it draws on a canvas with 
0,0,Width,Height geometry.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list