Vcl.Menus.TMenuItem.MenuIndex
Delphi
property MenuIndex: Integer read GetMenuIndex write SetMenuIndex;
C++
__property int MenuIndex = {read=GetMenuIndex, write=SetMenuIndex, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuItem |
Description
Indicates the index of the menu item within its parent menu.
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.