skip to main content

Controls Reference : GRID : Properties : Pop-Up Menu

Pop-Up Menu
With this property, it is possible to associate a pop-up menu with the Grid 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 - Define a grid with pop-up menu
working-storage section.
77 hmenu pic s9(9comp-4.
screen section.
  03 screen-1-gr-1 Grid
     pop-up menu hmenu
     line 5.7
     column 3.1
     size 34.6 cells 
     lines 15.5 cells 
     event procedure screen-1-gr-1-evt-proc
     column-headings
     hscroll
     row-headings
     lm-on-columns 1
     row-dividers 1
     end-color 9
     cursor-frame-width 3
     num-rows 5

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