[Lazarus] PageControl vs NoteBook vs TabControl

Marc Weustink marc.weustink at cuperus.nl
Fri Mar 5 10:20:30 CET 2010


Felipe Monteiro de Carvalho wrote:
> Just continuing ... TNotebook is widely used as a TPageControl because
> first someone created the wrong TNotebook and only later TPageControl
> was added ...

Not entirely. In the early days of lazarus, the original TNotebook was 
correct. Then someone thought, we need a TPageControl and it looks like 
a TNotebook, lets derive it from a TNotebook. And there the mess 
started. Hierarchy wrong, properties wrong etc...

Marc (always found it a bad idea)




More information about the Lazarus mailing list