Vcl.ExtCtrls.TNotebook.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.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TNotebook

Description

Calls a specified method for each child of the control.

Vcl.ExtCtrls.TNotebook.GetChildren inherits from Vcl.Controls.TWinControl.GetChildren. All content below this line refers to Vcl.Controls.TWinControl.GetChildren.

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