TabControl.SelectedIndex

Syntax

SelectedIndex: Number;

Description

The SelectedIndex property determines the selected tab by index.

Comments

Only one tab can be selected in the component at the same time. Selecting a tab means opening its contents.

By default the tab with the index 0 is selected.

The user can also select a tab using the TabControl.SelectedItem property.

Example

The example of component use is given in description of the TabControl.ItemDeselected property.

See also:

TabControl