Vcl.Forms.TCustomFrame.GetChildren
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.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomFrame |
Description
Calls a specified method for each child of the frame.
GetChildren is called by the component streaming system that loads and saves forms and data modules. Applications seldom need to call this routine.
Proc is a callback to execute for every component in the frame.
Root indicates the top-level component that is the entry point for the entire streaming process. This can be a form, data module, or frame.
GetChildren executes the method specified by Proc for every component contained by the frame. It provides extra support for components that do not have parents if the Root parameter identifies this frame.