I wish Open a PopupMenu on Btnbmp I tried with
:bRClicked := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }
and
:bAction := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }
But it make error
Any solution Please
:bRClicked := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }
and
:bAction := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }
But it make error
for n := 1 to 70
@ nRow, nCol BTNBMP aBtn[ n ] .....
WITH OBJECT aBtn[ n ]
:Cargo := n
:bRClicked := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }
END
.....
Function ShowActions( nrow, ncol, n, oControl )
Local oMenuPopup
MENU POPUP oMenuPopup
MenuItem "aaaaaaaaaaaa"
MenuItem "bbbbbbbbbbbbb"
ENDMENU
ACTIVATE POPUP oMenuPopup of oControl AT nrow, ncol
Return NILAny solution Please
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

