Flávio Etrusco wrote:
> I'm at work yet (those modifications are at home), so let me try a
> last argument. If you don't buy it I'll make the new patch ;-)
>
> My main point is TWinControls (wrappers around external controls)
> shouldn't have to manipulate the control scrollbars in the LCL so
> having a TScrollingWinControl which inherits from TWinControl seems
> basically useless to me.
I don't understand your reasoning here. Yes, TWinControls shouldn't need
to control the scrollbars (because that's done by the widgetset), and
that is the reason why TScrollingWinControl descends from TWinControl,
to separate that functionality to another class.
> Most controls don't have scrollbars, so we'll add bloat and namespace
> pollution to these controls.
Most TCustomControls you mean ?
> TForm already has almost the same behaviour as if it inherited from
> TCustomControl, so we're losing nothing from it.
TCustomControl exposes its canvas while TCustomForm doesn't, IIRC ?
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives