Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where is NoteBook component ?! (PageControl)

185 views
Skip to first unread message

Amit Bueno

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

Hi there,.

In Delphi v1.0, there were two components TNoteBook and TTabedNoteBook.
According to borland documentation these were replaced with the COM
component named TPageControl.

Well, it is all very nice, but after messing around with that component,
I figured out that there is no way I can make it a TNoteBook like
component. Meaning I can put a page control on the form, but I must use
the tabed icons above.
Does any one know how can I disable, or make the tabs invisible so the
TPageControl will function like the TNoteBook component ?!

Thanks in advance
---
Amit


Peter Below

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

Amit,

if you add a page to a TPageControl you get a new instance of TTabSheet. It
has a property named TabVisible, set that to false in the object inspector
and you have the notebook view, without tabs.

Peter Below (TeamB) 10011...@compuserve.com)

In article <3460A942...@attmail.com>, Amit Bueno wrote:
> From: Amit Bueno <bu...@attmail.com>
> Newsgroups: borland.public.delphi.vcl.components.writing
> Subject: Where is NoteBook component ?! (PageControl)
> Date: Wed, 05 Nov 1997 19:13:39 +0200

Steve Griffiths

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

If you are trying to make a multiple page Notebook without tabs, add
pages the notebook (these are the tab sheets) and set the tabvisible
property of each to false. Use PageControl.ActivePage and PageControl
FindNextPage to switch Pages.

Steve Griffiths

Amit Bueno

unread,
Nov 6, 1997, 3:00:00 AM11/6/97
to

10x Peter,

That TabVisible property did solve the problem.

---
Amit

Peter Below wrote:

> Amit,
>
> if you add a page to a TPageControl you get a new instance of TTabSheet. It
> has a property named TabVisible, set that to false in the object inspector
> and you have the notebook view, without tabs.
>
> Peter Below (TeamB) 10011...@compuserve.com)
>
> In article <3460A942...@attmail.com>, Amit Bueno wrote:
> > From: Amit Bueno <bu...@attmail.com>
> > Newsgroups: borland.public.delphi.vcl.components.writing
> > Subject: Where is NoteBook component ?! (PageControl)
> > Date: Wed, 05 Nov 1997 19:13:39 +0200
> >

0 new messages