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 ) }
: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
//----------------------------------------------------------------------------//
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 44 guests