MenuBar - Prepare Event

A menu is about to be shown

Member of MenuBar (PRIM_PPNL.MenuBar)


Name Type Data Type Description
Context *Input PRIM_OBJT Reference to the control associated with the popup being shown
Left *Both Integer Horizontal position the menu will shown
Top *Both Integer Vertical position the popup will shown
Width *Both Integer Width of the menu in pixels
Height *Both Integer Height of the menu in pixels
Transition *Both Enumeration Name of the animation to use when showing the menu
Continue *Both Boolean Set to false to prevent the menu from opening


The Prepare event is fired whenever the menu is about to be shown.
This provides an opportunity to configure the appearance at the time of showing rather than having to control it as the application is used.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020