skip to main content

Controls Reference : WINDOW : Properties : Pop-Up Menu

Pop-Up Menu
With this property it is possible to associate a pop-up menu with the Window control by assigning a pop-up menu handle to it. The MSG-INIT-MENU, MSG-MENU-INPUT and MSG-END-MENU events may be generated.
 
Example - Display a window with pop-up menu
working-storage section.
77 window-handle usage handle of window.
77 hmenu pic s9(9comp-4.
procedure division.
           display standard  window background-low
              control font Default-Font
              handle window-handle
              pop-up menu hmenu

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