His there a way to have a pop-up menu different on each cell?
His there a way to have a pop-up menu different on each cell?
His there a way to have a pop-up menu different on each cell?
While you may not be able to pop up a menu, you could monitor the right click in each cell and then display a window when the right click occurs. The grid has a right click event, you then inquire on the grid to see where this occured, then display a window with whatever information you want. Here is a very simple example:
Screen1-Gd-1-Ev-Msg-Grid-Rbutton-Down.
inquire Screen1-Gd-1 x=x1 y=y1
if x1=2 and y1=2 perform show-2x2-menu.
show-2x2-menu.
display message box "choose me"
His there a way to have a pop-up menu different on each cell?
call 'w$menu' using wmenu-popup, Screen1-Column-Popup-Handle
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.