IndexOf(Item: IMenuItem): Integer;
Item is a menu item the index of which should be found.
The IndexOf method returns the index of the specified menu item in the collection. If the specified menu item is not present in submenu, the function returns -1.
See also: