Show: Delphi C++
Display Preferences

System.Classes.TComponent.GetEnumerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEnumerator: TComponentEnumerator; inline;

C++

TComponentEnumerator* __fastcall GetEnumerator();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Returns a TComponent enumerator.

GetEnumerator returns a TComponentEnumerator reference, which enumerates the components contained within a specified containing component.

To process all these subcomponents, call the TComponentEnumerator GetCurrent method within a While MoveNext do loop.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance