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

# TNBNoPages

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

Re-implements an empty page container for TCustomTabControl controls.

## Declaration

Source position: comctrls.pp line 327

`type TNBNoPages = class(TNBBasePages)`
`protected`
`function Get(); override;` |  | Gets the caption for the page at the specified ordinal position.
`function GetCount; override;` |  | Gets the value for the Count property.
`function IndexOfPage(); override;` |  | Gets the ordinal position in the page list for the specified page object.
`function GetPage(); override;` |  | Gets the page object at the specified position in the page list.
`end;`

## Inheritance

`TNBNoPages` |  | Re-implements an empty page container for TCustomTabControl controls.
`TNBBasePages` |  | Ancestor for the TNBPages class.
`TStrings`
?
`TObject`

## Description

TNBNoPages is a TNBBasePages descendant which re-implements the page container for a TCustomTabControl. As the name implies, it does not actually use TCustomPages instances in the container. It removes the methods used to add and maintain the values in the class instance.