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

# TCustomTabControl.Options

The set of Options enabled for the tabbed control.

## Declaration

Source position: comctrls.pp line 498

`public property TCustomTabControl.Options : TCTabControlOptions read FOptions write SetOptions default [];`

## Description

Options is a TCTabControlOptions property with the set of options enabled for the tabbed control. It contains values from the TCTabControlOption enumeration which enable the corresponding features, including:

nboShowCloseButtons
  Enables close buttons on each tab control page. Requires support in the native tab control for a given platform.
nboMultiLine
  Enables word wrapped or multi-line captions on tabs. Used to read or write the value for the MultiLine property.
nboHidePageListPopup
  Hides the pop-up list of tab pages.
nboKeyboardTabSwitch
  Enables use of the Tab key to change the active page on a tabbed control. When enabled, Ctrl+Tab moves to the next tab and Ctrl+Shift+Tab moves to the previous tab. Tab and Shift+Tab are used for navigation between controls in the tab order for the parent form.
nboShowAddTabButton
  Enables a button which adds a page to a tab control.
nboDoChangeOnSetIndex
  Causes the OnChange event handler to be signalled when a value is assigned to the to ActivePage or PageIndex properties.

The default value for the property is an empty set ([]) and indicates that none of the optional features are enabled. Changing the value for the property causes the widgetset class instance to be updated when its handle has been allocated.

## See also

TCustomTabControl.ActivePage |  | Caption for the active page in the tabbed control.
TCustomTabControl.PageIndex |  | Ordinal position for the selected page on the tabbed control.
TCustomTabControl.KeyDown |  | Handles page navigation using the Tab key.
TCustomTabControl.MultiLine |  | Indicates whether the caption on a tab can have multiple lines of text.
TCustomTabControl.DoChange |  | Performs actions needed when the active page for the control has been changed.
TCustomTabControl.OnChange |  | Event handler signalled when the active page (or tab) for the control is changed.
TCTabControlOptions |  | Set type used to store values from the TCTabControlOption enumeration.
TCTabControlOption |  | Represents the LCL options available for TCustomTabControl.