Dear Mr. Nages,
Is it possible to show a menu with several options when clicking on a field in a row?
Thank you. Best regards
Saludos,
Eduardo
Eduardo
Dear Mr. Nages,
Is it possible to show a menu with several options when clicking on a field in a row?
Thank you. Best regards
oBrw:bPopup := { |oCol| MyPopMenuFunction( oCol ) }oCol:bPopup := { |oCol| MyPopMenuFunction( oCol ) }Hi,
And what about bLClicked?
I need to show the menu in this event, but it does not work. The menu does not show up.
If you need, I can build a sample code.
Thank you.
:bLClicked := { | nR, nC, nF | MyPopupMnu( oBrw, nR, nC ) }
.../...
//----------------------------------------------------------------------------//
Function MyPopupMnu( o, nRow, nCol )
local oMnu
MENU oMnu POPUP
MENUITEM "Option 1" ACTION Msginfo( o:oWnd:ClassName() )
SEPARATOR
MENUITEM "Exit" RESOURCE "close" ACTION ( o:oWnd:End() )
ENDMENU
ACTIVATE MENU oMnu AT nRow, nCol OF o:oWnd
Return oMnu
//----------------------------------------------------------------------------//My advice works with right-click.
We advise you not to use single click for any action because single click is used for navigation
Right click and popup menu is a standard user interface


Thank you Cristóbal, works perfect!!!