TMenuItemEnumerator class
Implements an enumerator for child menu items in the specified TMenuItem instance.
Declaration
TMenuItemEnumerator = classDescription
TMenuItemEnumerator is a class which implements an enumerator for
child menu items for a specified
TMenuItem instance. The menu item
examined is passed as an argument to the constructor, and the reference is
stored in an internal member variable.
TMenuItemEnumerator provides the MoveNext method used to advance
the position for the enumerator, and the Current property which
returns the TMenuItem instance in the child menu Items at the
current enumerator position.
TMenuItemEnumerator is the type returned from the
TMenuItem.GetEnumerator method.
See also
Properties
Current | public | Contains the TMenuItem instance at the current position for the enumerator. |
Methods
Create | public | Constructor for the class instance. |
MoveNext | public | Moves to the next position for the enumerator. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
