RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectField.GetChildren Method

Enumerates all child components.

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

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. 

 

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