FMX.Types.TFmxObject.GetChildren

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Types.pas
FMX.Types.hpp
FMX.Types TFmxObject

Description

Enumerates all child components.

FMX.Types.TFmxObject.GetChildren inherits from System.Classes.TComponent.GetChildren. All content below this line refers to System.Classes.TComponent.GetChildren.

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