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

# TTabControlNoteBookStrings

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

TTabControlNoteBookStrings - instance of TTabControlStrings for use with a TNoteBook

## Declaration

Source position: comctrls.pp line 425

`type TTabControlNoteBookStrings = class(TTabControlStrings)`
`protected`
`function Get(); override;` |  | Get returns the text string found on the indexed page
`function GetCount; override;` |  |
`function GetObject(); override;` |  | GetObject returns the indexed object from the paged notebook
`function GetTabIndex; override;` |  | GetTabIndex - returns the Index value of the current Tab
`procedure NBChanging(); virtual;` |  | NBChanging - method for dealing with the process for change in a NoteBook
`procedure NBGetImageIndex(); virtual;` |  | NBGetImageIndex - obtains the Image Index associated with a given Tab Index in the NoteBook
`procedure NBPageChanged(); virtual;` |  | NBPageChanged - Method for dealing with a NoteBook page that has changed
`procedure Put(); override;` |  | Put writes the supplied string to the indexed page of the notebook
`procedure PutObject(); override;` |  | PutObject stores the supplied object at the indexed place in the paged notebook
`procedure SetImages(); override;` |  | SetImages - if the supplied ImageList is of correct type, stores it in the notebook Images area
`procedure SetTabIndex(); override;` |  | SetTabIndex - specfies an index value for a tab
`procedure SetUpdateState(); override;` |  | SetUpdateState - if Updating is True, calls BeginUpdate; otherwise calls EndUpdate
`procedure SetTabHeight(); override;` |  | SetTabHeight checks if TabHeight is already equal to AValue, otherwise calls inherited method
`procedure SetTabWidth(); override;` |  | SetTabWidth checks if TabWidth is already equal to AValue, otherwise calls inherited method
`public`
`constructor Create(); override;` |  | Create - constructor for TTabControlNoteBookStrings: calls inherited Create then sets some default Actions
`destructor Destroy; override;` |  | Destroy - destructor for TTabControlNoteBookStrings: frees NoteBook then calls inherited Destroy
`procedure Clear; override;` |  | Clear calls the Clear method for the client Notebook
`procedure Delete(); override;` |  | Delete calls the Delete method for the client NoteBook
`procedure Insert(); override;` |  | Insert calls the Insert method for the client NoteBok
`function GetSize; override;` |  | GetSize - returns the size of the tab string
`procedure TabControlBoundsChange; override;` |  | TabControlBoundsChange - method for dealing with a change in the bounds of a Tab Control
`function IndexOfTabAt(); override;` |  | IndexOfTabAt - returns the Index value of the tab at the specified location, X, Y
`property NoteBook: TNotebook; [r]` |  | The NoteBook for which the tab strings are to be used
`end;`

## Inheritance

`TTabControlNoteBookStrings` |  | TTabControlNoteBookStrings - instance of TTabControlStrings for use with a TNoteBook
`TTabControlStrings` |  | TTabControlStrings - the Strings that appear on the tabs of TTabControl
`TStrings`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .