RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFrame.GetChildren Method

Calls a specified method for each child of the frame.

Pascal
procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
C++
virtual __fastcall GetChildren(TGetChildProc Proc, TComponent * Root);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!