Patch level :10.0 250
Files correlati : Ricompilazione Demo : [ ] Commento :corretta chiamata dei BAR_ITEM con BAR_ITEM_ID git-svn-id: svn://10.65.10.50/trunk@18337 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
aa8a58c92a
commit
e016b044b0
@ -476,7 +476,7 @@ bool TGenera_versamenti::menu(MENU_TAG m)
|
||||
int i = 0;
|
||||
TConfig cnf_user(CONFIG_USER);
|
||||
|
||||
if (m == BAR_ITEM(1))
|
||||
if (m == BAR_ITEM_ID(1))
|
||||
{
|
||||
codditta_prec = get_firm_770();
|
||||
while ((codditta = cnf_user.get_long(DITTE_SEL, _section, i++)) != 0L)
|
||||
@ -506,7 +506,7 @@ bool TGenera_versamenti::create()
|
||||
_section = name();
|
||||
_section.cut(2);
|
||||
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ bool TRiporta_quadri::codditta_handler(TMask_field& f, KEY k)
|
||||
|
||||
bool TRiporta_quadri::menu(MENU_TAG m)
|
||||
{
|
||||
if (m == BAR_ITEM(1))
|
||||
if (m == BAR_ITEM_ID(1))
|
||||
if (_liv == 'D')
|
||||
{
|
||||
TConfig conf(CONFIG_STUDIO);
|
||||
@ -124,7 +124,7 @@ bool TRiporta_quadri::create()
|
||||
_riporta = new TRiporti;
|
||||
_msk = new TMask("774200a");
|
||||
_msk->set_handler(F_CODDITTA, codditta_handler);
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ bool TGenera_dett::set()
|
||||
|
||||
bool TGenera_dett::menu(MENU_TAG m)
|
||||
{
|
||||
if (m == BAR_ITEM(1))
|
||||
if (m == BAR_ITEM_ID(1))
|
||||
return (set());
|
||||
return FALSE;
|
||||
}
|
||||
@ -116,7 +116,7 @@ bool TGenera_dett::create()
|
||||
_anno = 1994;
|
||||
_ente = "Aresi Alessandro";
|
||||
*/
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ bool TImmissioneDichiarazione::create()
|
||||
_rel = new TRelation (LF_BASE);
|
||||
_rel->add(LF_BASEBIS, "CODDITTA=CODDITTA");
|
||||
_msk = new TMask ("776200a");
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ bool TImmissioneDichiarazione::do_it()
|
||||
|
||||
bool TImmissioneDichiarazione::menu(MENU_TAG mt)
|
||||
{
|
||||
if (mt == BAR_ITEM(1))
|
||||
if (mt == BAR_ITEM_ID(1))
|
||||
return do_it();
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ bool TParametri_genera::create()
|
||||
_section.cut(2);
|
||||
_cnf = new TConfig(CONFIG_USER, _section);
|
||||
_rel = new TRelation (LF_BASE);
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ bool TParametri_genera::destroy()
|
||||
|
||||
bool TParametri_genera::menu(MENU_TAG m)
|
||||
{
|
||||
if (m == BAR_ITEM(1))
|
||||
if (m == BAR_ITEM_ID(1))
|
||||
return main_loop();
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ bool TEstinti_app::create()
|
||||
_estint_sheet = new TCursor_sheet(_cur,"CODDITTA|9->RAGSOC", "Elenco estinti",
|
||||
"Codice|Ragione sociale@50", 0x18, 3);
|
||||
_msk->set_handler(F_ESTINTI, show_estinti);
|
||||
dispatch_e_menu (BAR_ITEM(1));
|
||||
dispatch_e_menu (BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -200,7 +200,7 @@ bool TEstinti_app::main_loop()
|
||||
|
||||
bool TEstinti_app::menu(MENU_TAG m)
|
||||
{
|
||||
if (m == BAR_ITEM(1))
|
||||
if (m == BAR_ITEM_ID(1))
|
||||
return main_loop();
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -918,7 +918,7 @@ bool TStampaQuadro::create()
|
||||
|
||||
user_create();
|
||||
|
||||
dispatch_e_menu(BAR_ITEM(1));
|
||||
dispatch_e_menu(BAR_ITEM_ID(1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -713,7 +713,7 @@ class TGeneric_application : public TApplication
|
||||
TFilename _maskname;
|
||||
|
||||
protected:
|
||||
bool create() { dispatch_e_menu(BAR_ITEM(1)); return TRUE; }
|
||||
bool create() { dispatch_e_menu(BAR_ITEM_ID(1)); return TRUE; }
|
||||
bool destroy() { return TRUE; }
|
||||
bool menu(MENU_TAG);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user