skip to main content

Controls Reference : TOOL-BAR : Properties : Pop-Up Menu

Pop-Up Menu
With this property it is possible to associate a pop-up menu with the Tool-Bar 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 tool-bar with a pop-up menu
77 hmenu pic s9(9) comp-4.
procedure division.
  display tool-bar
          cell width 10
          cell height 10
          control font Default-Font
          pop-up menu hmenu
          handle screen-1-tb-1-hdl

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