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

TCustomTabControl.PageCount

Returns the number of page objects stored in the internal page list for the tabbed control.

Declaration

Source position: comctrls.pp line 500

public property TCustomTabControl.PageCount : Integer
  read GetPageCount;

Description

PageCount is a read-only Integer property with the number of TCustomPage instances in the internal page list for the control. The value for the property is read from the Count property in the internal TNBPages instance in the control.

Use InsertPage or RemovePage to maintain the page objects in the list.

Use tabs or Pages to access the list with the captions for the tabs on the control.

See also

TCustomTabControl.Page

  

Provides indexed access to the page objects used on the tabbed control.

TCustomTabControl.Pages

  

The list of captions for the page objects on the control.

TCustomTabControl.Tabs

  

Contains the list of pages accessible in the tabbed control.

TCustomPage

  

The base class for TTabSheet.

TStrings.Count


Version 3.2 Generated 2024-02-25 Home