RAD Studio VCL Reference
|
Returns the position of a menu item within the Items array.
function IndexOf(Item: TMenuItem): Integer;
__fastcall int IndexOf(TMenuItem Item);
Call IndexOf to locate a menu item in the submenu headed by this menu item. IndexOf returns 0 for the first menu item, 1 for the second menu item, and so on. If the menu item is not in the submenu, IndexOf returns -1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|