TMenuItem.IndexOf function
Gets the ordinal position in Items for the specified menu item.
Declaration
function IndexOf(Item: TMenuItem): IntegerArguments
Item | Menu item to locate in the Items property. |
Function result
Ordinal position for the specified menu item, or -1 when not found.
Description
Calls the IndexOf method in Items to locate the menu
item specified in Item. The return value is -1 if Items has
not been assigned in the class instance.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
