TCustomForm.GetChildren procedure
Executes the specified callback for all child Controls, and Components with no Parent.
Declaration
procedure GetChildren(Proc: TGetChildProc; Root: TComponent); overrideArguments
Proc | The callback method. |
Root | Components are enumerated only if Root is Self. |
Description
GetChildren is an overridden method in
TCustomForm
which executes the callback method specified in
Proc for child
Controls owned by
Root, or
Components which
do not have a
Parent. It calls the inherited method in
TWinControl to execute the callback for Child controls owned by
Root. GetChildren iterates over the values in Component, and calls Proc when
the
HasParent method for a given component returns
False.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
