RAD Studio VCL Reference
ContentsIndex
TMenuItem Members Public Methods
Public Methods
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
Add 
This is the overview for the Add method overload. 
 
Responds after the last constructor has executed. 
 
Copies the contents of another, similar object. 
 
Performs any necessary actions before the first destructor is called. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Removes and frees all menu items listed in the Items property. 
 
Simulates a mouse click. 
 
Creates an instance of TMenuItem
 
Provides the interface for a method that processes message records. 
 
Removes a menu item from the Items property array. 
 
Destroys an instance of TMenuItem
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
Executes an action. 
 
This is the overview for the FieldAddress method overload. 
 
Find 
Locates a menu item in the Items property array given its caption. 
 
Indicates whether a given component is owned by the component. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Ensures that AComponent is notified that the component is going to be destroyed. 
 
Frees the interface reference for components that were created from COM classes. 
 
Enumerates all child components. 
 
Returns a reference to the component associated by the implementing class. 
 
Returns a TComponent enumerator. 
 
Returns an integer containing the hash code. 
 
Returns the Image list that supplies an image for the menu item. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns a string used by the Object Inspector. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
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. 
 
Determines the relationship of two object types. 
 
Calls the action link's Update method if the menu item is associated with an action link. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Inserts a menu item into a specified position in the Items array. 
 
Establishes the component as the owner of a specified component. 
 
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. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the component implements a specified interface. 
 
Indicates whether the menu item represents a separator bar. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Inserts a separator bar at the end of the Items property array. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Inserts a separator bar at the beginning of the Items property array. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Removes a menu item from the Items property array 
 
Removes a specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
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. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Sets the parent component. 
 
Identifies whether the component is a subcomponent. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Updates the state of an action. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.