RAD Studio VCL Reference
ContentsIndex
TMenuItem Methods Public Methods
Public Methods
 
Name 
Description 
 
Add 
This is the overview for the Add method overload. 
 
Removes and frees all menu items listed in the Items property. 
 
Simulates a mouse click. 
 
Removes a menu item from the Items property array. 
 
Find 
Locates a menu item in the Items property array given its caption. 
 
Returns a TComponent enumerator. 
 
Returns the Image list that supplies an image for the menu item. 
 
Returns the parent component of the menu item. 
 
Returns the main menu of which the menu item is part. 
 
Indicates that the menu item has a parent that is responsible for loading and saving its data. 
 
Returns the position of a menu item within the Items array. 
 
Calls the action link's Update method if the menu item is associated with an action link. 
 
Inserts a menu item into a specified position in the Items array. 
 
Inserts a separator bar after a specified item from the Items property array. 
 
Inserts a separator bar before a specified item from the Items property array. 
 
Indicates whether the menu item represents a separator bar. 
 
Inserts a separator bar at the end of the Items property array. 
 
Inserts a separator bar at the beginning of the Items property array. 
 
Removes a menu item from the Items property array 
 
Adjusts the captions of subitems so that every item has an accelerator and there are no duplicate accelerator keys. 
 
Removes superfluous separator lines from the Items property array. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.