Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.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
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Calls a specified method for each child of the control.

GetChildren is called by the streaming system that loads and saves components. Applications seldom need to call this routine.

GetChildren executes the callback specified by the Proc parameter for every child control listed by the Controls property that lists the Root parameter as its Owner.

Override GetChildren to limit or augment which child controls are saved with the control. When overriding GetChildren, call the procedure passed as the Proc parameter for every child control that should be saved. The Root parameter indicates the component (usually a form) that owns the control.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance