Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/branches/R_10_00@21060 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
82c1f13023
commit
16e5e9a74d
@ -181,13 +181,15 @@ bool TListini_haba_msk::on_field_event(TOperable_field& o, TField_event e, long
|
|||||||
}
|
}
|
||||||
if(e == se_query_del)
|
if(e == se_query_del)
|
||||||
{
|
{
|
||||||
const TString& zero = real(ZERO).string();
|
TSheet_field& sheet = (TSheet_field&)o;
|
||||||
TSheet_field& sheet = sfield(o.dlg());
|
TToken_string& row = sheet.row(jolly);
|
||||||
TToken_string& row = sheet.row(sheet.selected());
|
row.add("", sheet.cid2index(S_IMPEURO));
|
||||||
row.add(zero, sheet.cid2index(S_IMPEURO));
|
row.add("", sheet.cid2index(S_IMPFRANCO));
|
||||||
row.add(zero, sheet.cid2index(S_IMPFRANCO));
|
sheet.force_update(jolly);
|
||||||
sheet.force_update();
|
|
||||||
return false;
|
TButton_field& button = (TButton_field&)sheet.sheet_mask().field(DLG_DELREC);
|
||||||
|
|
||||||
|
return on_field_event(button, fe_button, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case S_SPESSORE:
|
case S_SPESSORE:
|
||||||
|
@ -57,7 +57,7 @@ void TAggiungi_listini_haba_app::check_doc()
|
|||||||
TConfig ini(_ini_name, "33");
|
TConfig ini(_ini_name, "33");
|
||||||
TString4 para; para.format("%d", LF_DOC);
|
TString4 para; para.format("%d", LF_DOC);
|
||||||
const int anno = ini.get_int(DOC_ANNO, para);
|
const int anno = ini.get_int(DOC_ANNO, para);
|
||||||
TString4 mese; mese.format("%2d", TDate(ini.get(DOC_DATADOC)).month());
|
TString4 mese; mese.format("%02d", TDate(ini.get(DOC_DATADOC)).month());
|
||||||
|
|
||||||
TTable listini("LGM");
|
TTable listini("LGM");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user