Hi,
is it normal that if click right mouse button in a xbrowse this msginfo
oBrw:brClicked := {|nRow, nCol| MsgInfo( nrow ) }
appears only if in the xbrowse are present some records?
Or if I click in the left vertical bar?
In this program I show daily appointments and if in a day selected()
ordscope( 0 , dDay )
ordscope( 1 , dDay )
appointments may not be
And the brwclicked does not work
This is the real code:
oBrw:brClicked := {|nRow, nCol| Pop_app( nRow, nCol, oBrw, oTimer ) }
where pop_app is ....
FUNCTION POP_APP( nRow, nCol, oBrw, oTimer )
LOCAL oMen
oTimer:deactivate()
MENU oMen POPUP 2007
MENUITEM "Inserimento" ACTION ins_app( oBrw ) WHEN .NOT. lMensile
MENUITEM "Cancellazione" ACTION del_app( oBrw ) WHEN .NOT. lMensile
MENUITEM "Sposta" ACTION spo_app( oBrw ) WHEN .NOT. lMensile
MENUITEM "Chiudi questo menu" ACTION oMen:end()
ENDMENU
oMen:Activate( nRow, nCol, oBrw )
oTimer:activate()
RETURN NIL