Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.ControlCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ControlCount: Integer read GetControlCount;

C++

__property int ControlCount = {read=GetControlCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Returns the number of child controls.

Read ControlCount when iterating over all the children of this control. The children of the control are listed in the Controls property array.

ControlCount is a read-only property.

Note: The value of ControlCount is always 1 greater than the highest Controls index, because the first Controls index is 0.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance