Sign in Join
FPDoc Onlineexperiment

TComponent.GetChildren procedure

Member of TComponentprotectedIn unit Classes

Must be overridden by descendants to return all child components that must be streamed.

Declaration

pascal
procedure GetChildren(Proc: TGetChildProc; Root: TComponent); dynamic

Description

GetChildren is called by the streaming system to determine which child components should be streamed as well when the component is being streamed. By default, no child components are streamed, i.e. the TComponent implementation is empty.

TComponent descendants should override this method. For each child that needs to be streamed, Proc should be called with as an argument the child component that must be streamed. The Root argument contains the root component relative to which all streaming is done.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.