RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupMenu Members

The following tables list the members exposed by TPopupMenu.

 
Name 
Description 
 
This is FComponentStyle, a member of class TComponent. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Applies the BiDiMode property to the menu when the Windows control is created. 
 
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. 
 
Provides an interface for a method that reads and writes otherwise unpublished data. 
 
Updates the menu when the BiDiMode property changes. 
 
Generates an OnChange event. 
 
Returns the caption for an item in the menu. 
 
Generates an OnPopup event. 
 
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 GetChildren, a member of class TComponent. 
 
Executes a callback for child menu items. 
 
Returns the value of the Handle property. 
 
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). 
 
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). 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
Indicates whether menu items can contain more than simple captions. 
 
Initializes the component after the form file has been read into memory. 
 
Calls the DoChange method when the menu is first loaded into memory. 
 
Responds when the menu changes. 
 
Forwards notification messages to all owned components. 
 
Responds when components are added or deleted. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
This is ReadState, a member of class TComponent. 
 
This is SetAncestor, a member of class TComponent. 
 
This is SetChildOrder, a member of class TComponent. 
 
Ensures that the menu item indexes reflect the order in which they are loaded and saved. 
 
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. 
 
Sets the csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
This is SetParentComponent, a member of class TComponent. 
 
This is SetPopupPoint, a member of class TPopupMenu. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
Causes all menu items to update themselves. 
 
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. 
 
Specifies whether the control's alignment is in a right-to-left mode. 
 
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. 
 
This is WriteState, a member of class TComponent. 
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
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. 
 
Creates an instance of TPopupMenu
 
This is CreateMenuItem, a member of class TMenu. 
 
Provides the interface for a method that processes message records. 
 
Destroys an instance of TPopupMenu
 
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. 
 
Calls the Click method of the menu item with the specified value as its Command property. 
 
Dispatches a pop-up menu command. 
 
This is ExecuteAction, a member of class TComponent. 
 
Returns the address of a published object field. 
 
Indicates whether a given component is owned by the component. 
 
Locates and returns a menu item. 
 
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. 
 
Returns a reference to the component associated by the implementing class. 
 
Returns a TComponent enumerator. 
 
Returns the help context ID associated with a 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 containing Component. 
 
This is HasParent, a member of class TComponent. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Establishes the component as the owner of a specified component. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the component implements a specified interface. 
 
Indicates whether menu items read from right to left. 
 
Dispatches a key message if it represents a shortcut key for an item in the menu. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
This is the overview for the ParentBiDiModeChanged method overload. 
 
Displays the pop-up menu onscreen. 
 
Responds to keyboard input for the menu. 
 
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 specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Identifies whether the component is a subcomponent. 
 
This is UpdateAction, a member of class TComponent. 
 
Name 
Description 
 
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. 
 
Contains information used by the Form designer. 
 
Provides access to the Windows menu handle for the menu. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Indicates the component that last displayed the popup menu in response to a right mouse click. 
 
Indicates the location where the pop-up menu appears. 
 
Represents information used internally by components that support COM. 
 
Provides access to the handle of the window that uses the menu. 
 
Name 
Description 
 
Occurs when the menu changes. 
 
Occurs just before the pop-up menu appears. 
 
Name 
Description 
 
Determines where the pop-up menu appears when the user clicks the right mouse button. 
 
Determines whether the accelerator keys for menu items can be reset automatically. 
 
Determines whether redundant separator bars are automatically removed from the menu. 
 
Determines whether the pop-up menu appears automatically when the user clicks the right mouse button. 
 
Determines the layout of the menu in Middle East locales. 
 
Specifies a context ID for the entire pop-up menu. 
 
Lists the images that can appear beside individual menu items. 
 
Describes the elements of the menu. 
 
Specifies how the menu appears when it is first displayed. 
 
Name 
Specifies the name of the component as referenced in code. 
 
Specifies whether the menu items are drawn by the application. 
 
Indicates whether the BiDiMode property is inherited from the control that uses the menu. 
 
Tag 
Stores an integer value as part of a component. 
 
Specifies which mouse button activates the popup menu when it is associated with a toolbar button. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!