RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem Members

The following tables list the members exposed by TMenuItem.

 
Name 
Description 
 
FComponentStyle is the field of the ComponentStyle read-only property. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
This is ActionChange, a member of class TMenuItem. 
 
This is AdvancedDrawItem, a member of class TMenuItem. 
 
Copies the properties of an object to a destination object. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
Designates methods for storing an object's unpublished data on a stream such as a form file. 
 
This is DoDrawText, a member of class TMenuItem. 
 
This is DrawItem, a member of class TMenuItem. 
 
This is GetActionLinkClass, a member of class TMenuItem. 
 
This is GetAutoHotkeys, a member of class TMenuItem. 
 
This is GetAutoLineReduction, a member of class TMenuItem. 
 
Returns the owner of a child component being read from a stream. 
 
Returns the parent, or if there is no parent, returns the owner of a child component being read from a stream. 
 
This is GetCount, a member of class TMenuItem. 
 
This is GetHandle, a member of class TMenuItem. 
 
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). 
 
This is GetItem, a member of class TMenuItem. 
 
This is GetMenuIndex, a member of class TMenuItem. 
 
Returns the owner of a component. 
 
Returns the owner of an object. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
This is InsertNewLine, a member of class TMenuItem. 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
Initializes the component after the form file has been read into memory. 
 
This is MeasureItem, a member of class TMenuItem. 
 
This is MenuChanged, a member of class TMenuItem. 
 
Forwards notification messages to all owned components. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Reads the state of the component. 
 
Clears or sets csAncestor state in the component's ComponentState property. 
 
This is SetBreak, a member of class TMenuItem. 
 
This is SetCaption, a member of class TMenuItem. 
 
This is SetChecked, a member of class TMenuItem. 
 
Sets the visual ordering of a child control. 
 
This is SetDefault, a member of class TMenuItem. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
This is SetEnabled, a member of class TMenuItem. 
 
This is SetGroupIndex, a member of class TMenuItem. 
 
This is SetImageIndex, a member of class TMenuItem. 
 
Sets the csInline bit of the component's ComponentState property 
 
This is SetMenuIndex, a member of class TMenuItem. 
 
Sets the value of the Name property. 
 
This is SetRadioItem, a member of class TMenuItem. 
 
This is SetShortCut, a member of class TMenuItem. 
 
This is SetVisible, a member of class TMenuItem. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
This is UpdateItems, a member of class TMenuItem. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
Sets the csUpdating state in the component's ComponentState property. 
 
Determines whether an object can be inserted into a container. 
 
Provides the interface for a method that validates an child component before it is inserted. 
 
Ensures that renaming an owned component does not create name conflict. 
 
Writes the state of the component. 
 
Name 
Description 
 
This is ActionLink, a member of class TMenuItem. 
 
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. 
 
Name 
Description 
 
Specifies the Windows Command ID associated with the menu item. 
 
Specifies the interface reference implemented by the component. 
 
Indicates the number of components owned by the component. 
 
Indicates the position of the component in its owner's Components property array. 
 
Lists all components owned by the component. 
 
Describes the current state of the component, indicating when a component needs to avoid certain actions. 
 
Governs the behavior of the component. 
 
Indicates the number of subitems of the menu item. 
 
Contains information used by the Form designer. 
 
Indicates the Windows menu handle of the drop-down menu associated with the menu item. 
 
Lists the menu items in the submenu of the menu item. 
 
Indicates the index of the menu item within its parent menu. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Identifies the parent menu item of this menu item. 
 
Represents information used internally by components that support COM. 
 
Name 
Description 
 
Occurs when an owner-draw menu needs to be drawn. 
 
Occurs when the user clicks menu item. 
 
Occurs when an owner-draw menu needs to be drawn. 
 
Occurs on owner-draw menu items to determine menu item size before the menu is drawn. 
 
Name 
Description 
 
Designates the action associated with the menu item. 
 
Indicates whether the menu item's checked state toggles automatically when the item is clicked. 
 
Determines whether the accelerator keys for submenu items can be reset automatically. 
 
Determines whether redundant separator bars are automatically removed from the submenu. 
 
Designates a bitmap that is drawn for the menu item. 
 
Determines whether the menu item starts a new column in the menu. 
 
Specifies the text of the menu item. 
 
Specifies whether a check mark should appear beside the Caption
 
Specifies whether the menu item is invoked when the parent item is double clicked. 
 
Specifies whether the menu item is enabled. 
 
Identifies the logical group to which the menu item belongs. 
 
Specifies the help context ID associated with the menu item. 
 
Hint 
Specifies the text string that can appear when the user moves the mouse pointer over a menu item. 
 
Indicates which image maintained by the parent menu appears next to the menu item. 
 
Name 
Specifies the name of the component as referenced in code. 
 
Specifies whether the menu item is mutually exclusive with other menu items in its group. 
 
Specifies the key combination users can type to quickly access the menu item. 
 
Lists the images that can appear beside individual items in a submenu of this menu item. 
 
Tag 
Stores an integer value as part of a component. 
 
Specifies whether the menu item appears in the menu. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!