Sign in Join
FPDoc Onlineexperiment

TMenuItem.GetEnumerator function

Member of TMenuItempublicIn unit Menus

Gets an enumerator for the child menu Items in the class instance.

Declaration

pascal
function GetEnumerator: TMenuItemEnumerator

Function result

TMenuItemEnumerator instance for the Items in the class.

Description

GetEnumerator is a TMenuItemEnumerator function used to get an enumerator for the TMenuItem instances in the Items property. It re-introduces the method from TComponent to return the TMenuItemEnumerator type.

See also

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