Sign in Join
FPDoc Onlineexperiment

TTabSheet.TabIndex property

Member of TTabSheetpublicIn unit ComCtrls

Ordinal position for the tab sheet in the visible tab sheets on the page control.

Declaration

pascal
property TabIndex: Integer read GetTabIndex;

Description

TabIndex is a read-only Integer property with the ordinal position for the tab sheet in the list of active pages on the parent TPageControl instance. The property value is -1 when TabVisible is set to False.

TabIndex iterates over the TTabSheet instances in PageControl up to the value in its PageIndex property. The return value contains the ordinal position for the TTabSheet in the list of pages with their TabVisible property set to True. Pages which are not visible are not considered when the ordinal value is calculated.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.