RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.GetChildren Method

Allows the streaming system to load and save child controls in the order they appear in the toolbar.

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

GetChildren is introduced in TComponent for the streaming system that loads and saves VCL components. It executes the callback specified by Proc for all the button in the toolbar, as well as any other controls that have the toolbar as a parent and the component specified by Root as an Owner. 

Proc is a callback that the streaming system uses to load or save persistent objects on a form. 

Root is the the top-level component (such as a form or data module) that is currently being loaded or saved. 

 

GetChildren 

GetChildren 

GetParentComponent

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!