System.Classes.TComponent.GetChildren

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetChildren(Proc: TGetChildProc; Root: TComponent); dynamic;

C++

DYNAMIC void __fastcall GetChildren(TGetChildProc Proc, TComponent* Root);

Properties

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

Description

Enumerates all child components.

GetChildren is used internally in the component streaming system. It is not necessary to call it directly.

GetChildren expects a TGetChildProc routine that receives all enumerated components.

Root represents the owner of the components that will be enumerated.

This method does nothing in TComponent and is expected to be overridden in descendants.

See Also