[Lazarus] PageControl vs NoteBook vs TabControl
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Mon Mar 8 13:14:29 CET 2010
On Mon, Mar 8, 2010 at 3:40 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> Well how hard can it no be to add a new "with borders" or "without borders"
> property to the TNotebook. This minor detail still doesn't justify a
> complete separate component.
Except that because components are drawn by the widgetset, which
doesn't support this no-borders at least in the case of Windows, you
sure can offer this property, but then you need to have 2
implementations for the same control.
The correct TNotebook can be implemented purely in LCL code, so not
that much work in maintaining it.
> Rolled into one, they would reduce maintenance, increase stability (because
> everybody use the same component).
Only if you draw everything yourself like in fpgui. With the LCL
design and the limitations of widgetsets this isn't true.
--
Felipe Monteiro de Carvalho
More information about the Lazarus
mailing list