[Lazarus] Why is TCustomControl.Canvas public?
Flávio Etrusco
flavio.etrusco at gmail.com
Thu Jul 14 06:08:13 CEST 2011
> (...)
> TCustomControl is to be a base class not for quick hacks. Adding more
> functions would blow the code for most components that don't use it
Oh my. I suppose it's not be used directly in TCustomControl, but on
descendants.
> OnPaint can be even undesired in some controls
>
> If some descendants needs OnPaint is pretty simple to add with the benefit
> of choosing where to call.
This is not in question. It's already there.
-Flávio
More information about the Lazarus
mailing list