[lazarus] TNotebook vs TTabbedNotebook

Curtis White osiriz at teleport.com
Sat Jan 8 07:05:08 EST 2000


Shane,

In Delphi, the TNotebook component is one without tabs. This allows you to do
things like a wizard. If the notebook has tabs, then you have to find another
way to do wizards. That is why there is both the TNotebook and the
TTabbedNotebook. They are similar, but the tabbed notebook actually shows the
tabs. If they are the same, then there is no need for TTabbedNotebook. But then
that is another place where we won't be compatible with Delphi. I think we
should keep them the way they were. Otherwise, we need to come up with some
sort of component that will allow people to create wizards and do things where
they don't want tabs.


Curtis

On 04-Jan-2000 Shane Miller wrote:
> I added two lines to TNOTEBOOK's creaate method.   They are 
> 
> tabposition := tpTOP;
> showtabs := true;
> 
> Now, instead of using the tabnotbk.pp file and creating a TTabbedNotebook, I
> think we should start using extctrls.pp and create a TNotebook control.  They
> both use TCustomNotebook and now both work exactly the same.
> 
> Shane
> 







More information about the Lazarus mailing list