If I select a menu option on tbmenu (toolbar) it execute the action and then quit the application exe
Why ?

sample :
DEFINE TBMENU OF oBar ;
TOOLTIP i18n( "Conversioni" ) ;
MESSAGE i18n( "Gestióne delle conversioni." );
MENU MenuLooktab(oBrwLook)
...
static Function MenuLooktab(oBrwLook)
local oPop
local cFile :="test"
MENU oPop POPUP 2007
MENUITEM "Excel" RESOURCE "LOOK_EXCEL" ACTION oBrwLook:ToExcel()
MENUITEM "File Dbase(Dbf)" RESOURCE "LOOK_DBF" ACTION oBrwLook:ToDBF( cFile)
ENDMENU
return opop
Why ?

sample :
DEFINE TBMENU OF oBar ;
TOOLTIP i18n( "Conversioni" ) ;
MESSAGE i18n( "Gestióne delle conversioni." );
MENU MenuLooktab(oBrwLook)
...
static Function MenuLooktab(oBrwLook)
local oPop
local cFile :="test"
MENU oPop POPUP 2007
MENUITEM "Excel" RESOURCE "LOOK_EXCEL" ACTION oBrwLook:ToExcel()
MENUITEM "File Dbase(Dbf)" RESOURCE "LOOK_DBF" ACTION oBrwLook:ToDBF( cFile)
ENDMENU
return opop
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