Right Click on Grid

Started by Jeffrey Ferreira, September 03, 2019, 04:05:49 PM

Previous topic - Next topic

Jeffrey Ferreira

Hello List,
When we make our own right click menu for a grid. We lose the pxplus print function that allows us to print grid.
I tried to make my own menu option to  fire off *LIB\_PLUS\WINUTL\LISTPOPUP;PRINT_LIST but it just hangs saying "Loading" in the viewer.
Is there any way for me to have the best of both worlds.
Custom Pop-Up and a PxPlus Print.

jeff

Jeffrey Ferreira

Sorry about that.
I missed the List Options at bottom...

Mike King

Yes, when you have your own pop up menu, the system automatically adds a Options selection at the bottom.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

Jeffrey Ferreira

Hi Mike,

I'm just curious would it be possible to invoke the "print" logic from the right click from say a  button on a panel?

Jeff

Jane Raymond


In the manual in the List Box and Grid System Popup Menu section, about half way down it explains how to attach the popup menu and its individual features to events other than the right-click popup event:

https://manual.pvxplus.com/page/NOMADS%20Graphical%20Application/Creating%20Panel%20Controls/Popup%20Menu/List%20Box%20and%20Grid%20System%20Popup%20Menu.htm

So your button logic would be something like:

Popup_Ctlval =ctl_val  ! the ctl value of the associated list/grid control
Popup_Select =4 ! print option
PERFORM "*plus/winutl/listpopup;Popup_Menu"
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.