RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem.MenuIndex Property

Indicates the index of the menu item within its parent menu.

Pascal
property MenuIndex: Integer;
C++
__property int MenuIndex;

Use MenuIndex to locate the menu item in the Items property of its parent menu item. Changing this value moves the menu item within its menu.

Note: MenuIndex may not correspond to the position of the item in the menu the user sees. The menu can include items that are not visible.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!