Sign in Join
FPDoc Onlineexperiment

TMenuItem.GetChildren procedure

Member of TMenuItemprotectedIn unit Menus

Performs an operation for a component instance and its Items.

Declaration

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

Arguments

Proc

Object procedure called for the component.

Root

Component examined in the object procedure.

Description

GetChildren is an overridden method in TMenuItem, and implements the dynamic method defined in the ancestor class. It does not call the inherited method.

GetChildren calls the object procedure in Proc for the component instance in Root and each of the component instances in its Items property.

No actions are performed in the method when Items has not been assigned (contains Nil).

See also

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