TNBPages.Insert procedure
Inserts a new page with the given name at the specified position in PageList.
Declaration
procedure Insert(Index: Integer; const S: string); overrideArguments
Index | Ordinal position where the new page is stored. |
S | Name (Caption) used for the new page instance. |
Description
Insert calls the
GetPageClass method in
NoteBook to get the class reference used to create the new page.
The owner of the page instance is the NoteBook control (or its owner when
assigned). The value in
S is assigned as the Caption in the
TCustomPage instance. The
InsertPage method in NoteBook is called
to store the TCustomPage instance at the position in
Index.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
