IMenuItems.IndexOf

Syntax

IndexOf(Item: IMenuItem): Integer;

Parameters

Item - menu item, which index must be found.

Description

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:

IMenuItems