IndexOf(Item: IMenuItem): Integer;
Item - menu item, which index must 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: