RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCategoryPanel.GetChildren Method

Calls a specified procedure for every control in the category panel.

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

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. 

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 Proc parameter defines the callback. 

The Root parameter is ignored. 

 

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