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