Sign in Join
FPDoc Onlineexperiment

TPageControl.TabIndex property

Member of TPageControlpublishedIn unit ComCtrls

Contains the ordinal position for the active Tab in the control.

Declaration

pascal
property TabIndex:;

Description

TabIndex is an Integer property which contains the ordinal position for the active Tab in the tabbed control. It is the same as the PageIndex property; they read and write the same member value. The default value for the property is -1, and indicates that an active tab (page) has not been selected in the control.

Setting a new value for the property causes the OnChange event handler to be signalled when nboDoChangeOnSetIndex has been included in the Options for the control. The event handler is not signalled at design-time, during LCL component streaming, or when the control is freed.

No actions are performed in the method when the new property value is not in the range -1..PageCount-1, or when the new value is the same as the existing value.

This description is the one of ComCtrls.TCustomTabControl.TabIndex.

See also

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