skip to main content

Controls Reference : JAVA-BEAN : Events : MSG-INIT-MENU

MSG-INIT-MENU
This event is fired right before displaying a menu. The EVENT-DATA-2 data item contains the menu handle and can be used to alter the menu items.
Setting EVENT-ACTION to EVENT-ACTION-FAIL prevents the menu from being displayed.
With certain JAVA-BEANs that are composed by more components (e.g. the JCalendar), the mouse events that occur on the sub-components may not be correctly forwarded to the top-level component. In this case the MSG-INIT-MENU event will be fired only if the user clicks on the top-level component.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left