Patch level : 12.0 408

Files correlati     : cg3
Commento            : 
Dopo richiesta dei clienti riaggiunti i tasti "excel" ed "esporta" nella visualizzazione mastrini.
Guido li aveva tolti (aveva messo solo il tasto "esporta" con la scritta "excel") e sono entrati in release solo ultimamente

git-svn-id: svn://10.65.10.50/branches/R_10_00@23868 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2017-06-14 09:13:55 +00:00
parent b5807f1c53
commit 88ee636570
2 changed files with 11 additions and 5 deletions

View File

@ -2273,7 +2273,7 @@ protected: // TMask
static bool link_handler(TMask_field& f, KEY k);
static bool new_handler(TMask_field& f, KEY k);
//static bool edit_handler(TMask_field& f, KEY k);
static bool edit_handler(TMask_field& f, KEY k);
static bool export_handler(TMask_field& f, KEY k);
static bool saldac_handler(TMask_field& f, KEY k);
@ -2290,7 +2290,7 @@ TGrid_mask::TGrid_mask()
read_mask("cg3600b", 0, 0);
set_handler(DLG_LINK, link_handler);
set_handler(DLG_NEWREC, new_handler);
//set_handler(DLG_EDIT, edit_handler);
set_handler(DLG_EDIT, edit_handler);
set_handler(DLG_EXPORT, export_handler);
set_handler(DLG_USER, saldac_handler); // implemented in cg3601.cpp
@ -2338,7 +2338,7 @@ bool TGrid_mask::new_handler(TMask_field& f, KEY k)
return true;
}
/* Useless
bool TGrid_mask::edit_handler(TMask_field& f, KEY k)
{
bool ok = true;
@ -2355,7 +2355,7 @@ bool TGrid_mask::edit_handler(TMask_field& f, KEY k)
ok = export_handler(f, k); // Se non parte Excel salvo altrove
}
return ok;
}*/
}
bool TGrid_mask::export_handler(TMask_field& f, KEY k)
{

View File

@ -14,10 +14,16 @@ BEGIN
PICTURE TOOL_NEWREC
END
BUTTON DLG_EDIT 10 2
BEGIN
PROMPT 3 1 "E~xcel"
PICTURE TOOL_EXCEL
END
BUTTON DLG_EXPORT 10 2
BEGIN
PROMPT 4 1 "~Esporta"
PICTURE TOOL_EXCEL
PICTURE TOOL_EXPORT
END
BUTTON DLG_CANCEL 10 2