[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 753

`type TTabControlNoteBookStrings = class(TTabControlStrings)`
`protected`
`function GetInternalTabControllClass; virtual;` |  | Gets a new instance of a tab control
`function Get(); override;` |  | Get returns the text string found on the indexed page.
`function GetCount; override;` |  | Gets the value for the Count property.
`function GetObject(); override;` |  | GetObject returns the indexed object from the paged notebook.
`function GetTabIndex; override;` |  | Gets the value for the TabIndex property.
`function GetTabPosition;` |  | Gets the value for the TabPosition property.
`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 NBHandleCreated();` |  | Ensures that the bounds for the Tab control are updated when the handle for the class instance is created.
`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 SetMultiLine(); override;` |  | Sets the value for the MultiLine property.
`procedure SetTabIndex(); override;` |  | Sets the value for the TabIndex property.
`procedure SetUpdateState(); override;` |  | SetUpdateState - if Updating is True, calls BeginUpdate; otherwise calls EndUpdate.
`procedure SetTabPosition();`
`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 NoteBook.
`function GetSize; override;` |  | Gets the size for the String displayed on a tab control.
`procedure TabControlBoundsChange; override;` |  | TabControlBoundsChange - method for dealing with a change in the bounds of a Tab Control.
`function IndexOfTabAt(); override;` |  | Gets the ordinal position for the value of the tab at the specified location X, Y.
`property TabPosition: TTabPosition; [rw]` |  | Indicates the alignment and orientation for the tabs on the control.
`property Style: TTabStyle; [rw]` |  | Drawing style used for the tabs on the control.
`property NoteBook: TCustomTabControl; [r]` |  | The tab control where the string values are displayed as the caption for the tabs.
`end;`

## Inheritance

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