Popup Menu (PRIM_PMNU)

Popup Menu

Ancestors - Base Menu (PRIM_MENU) Object (PRIM_OBJT)

Details

A Popup Menu is primarily used for right click context menus, but is also used as the menu attached to a Push Button.
 
A Popup Menu is constructed of Menu Items, each of which will fire a click event when used.
 
Popup Menus are positioned at the cursor location by default and will always fit within the screen boundaries, automatically repositioning if required.
 
The Prepare is fired immediately before the menu is displayed.

Properties

NameDescription
AutoActionsAutoActions options to be automatically added to the popup menu.
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
ItemsCollection of items in the component Inherited from Base Menu (PRIM_MENU)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentReference to the control containing the menu
TipShowTipShow controls whether menu item tips are shown. Inherited from Base Menu (PRIM_MENU)

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Base Menu (PRIM_MENU)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Base Menu (PRIM_MENU)
PreparePrepare event can be used to display context sensitive menus Inherited from Base Menu (PRIM_MENU)
Context

Methods

NameDescription
ShowShow the popup menu
x, y

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2