MenuBar - Prepare Event

A menu is about to be shown

Member of MenuBar (PRIM_PPNL.MenuBar)

Parameters

NameTypeData TypeDescription
Context*InputPRIM_OBJTReference to the control associated with the popup being shown
Left*BothIntegerHorizontal position the menu will shown
Top*BothIntegerVertical position the popup will shown
Width*BothIntegerWidth of the menu in pixels
Height*BothIntegerHeight of the menu in pixels
Transition*BothEnumerationName of the animation to use when showing the menu
Continue*BothBooleanSet to false to prevent the menu from opening

Details

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

Febuary 18 V14SP2