Sign in Join
FPDoc Onlineexperiment

TPageControl.ActivePageIndex property

Member of TPageControlpublicIn unit ComCtrls

Ordinal position for the active page (tab sheet) on the page control.

Declaration

pascal
property ActivePageIndex: Integer read GetActivePageIndex write SetActivePageIndex;

Description

ActivePageIndex is an Integer property with the ordinal position in Pages where the ActivePage is stored. The value for the property is read from and written the PageIndex property in the TCustomTabControl ancestor.

ActivePageIndex contains -1 when PageCount is 0 (no tab sheets have been created), or ActivePage has not been assigned.

See also

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