Popup Menu
Ancestors - Base Menu (PRIM_MENU) Object (PRIM_OBJT)
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.
Name | Description |
---|---|
AutoActions | AutoActions options to be automatically added to the popup menu. |
ComponentClassName | ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
ComponentMembers | ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
ComponentPatternName | ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
ComponentTag | Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
ComponentType | ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
ComponentTypeName | ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
Items | Collection of items in the component Inherited from Base Menu (PRIM_MENU) |
Name | Name identifies the component Inherited from Object (PRIM_OBJT) |
Owner | Owner owns this component Inherited from Object (PRIM_OBJT) |
Parent | Reference to the control containing the menu |
TipShow | TipShow controls whether menu item tips are shown. Inherited from Base Menu (PRIM_MENU) |
Name | Description |
---|---|
CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from Base Menu (PRIM_MENU) |
DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Base Menu (PRIM_MENU) |
Prepare | Prepare event can be used to display context sensitive menus Inherited from Base Menu (PRIM_MENU)
Context |
Name | Description |
---|---|
Show | Show the popup menu
x, y |
LANSA Version 15, April 2020