[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TNBBasePages

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Ancestor for the TNBPages class.

## Declaration

Source position: comctrls.pp line 288

`type TNBBasePages = class(TStrings)`
`protected`
`function IndexOfPage(); virtual; abstract;` |  | Gets the ordinal position for the specified page object.
`procedure InsertPage(); virtual; abstract;` |  | Inserts the specified page at the given position in the list.
`procedure DeletePage(); virtual; abstract;` |  | Deletes the page at the specified position in the list.
`function GetPage(); virtual; abstract;` |  | Gets the page object stored at the specified position in the list.
`public`
`constructor Create(); virtual;` |  | Constructor for the class instance.
`end;`

## Inheritance

`TNBBasePages` |  | Ancestor for the TNBPages class.
`TStrings`
?
`TObject`

## Description

TNBBasePages specifies the ancestor for TNBPages, and provides virtual abstract methods used to maintain a list of TCustomPage objects associated with a TCustomTabControl (also called a "notebook"). Use the TNBPages descendant which provides concrete method implementations and additional properties and methods for the purpose.

## See also

TNBPages |  | Implements a list of pages used in TCustomTabControl.