Patch level : 10.0

Files correlati     : lv0.exe
Ricompilazione Demo : [ ]
Commento            :
Trasformata message_box in error_box


git-svn-id: svn://10.65.10.50/trunk@18379 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-02-27 12:26:24 +00:00
parent 30a22ff010
commit 1966fd1c41

View File

@ -289,15 +289,14 @@ protected:
bool TContratti_app:: user_create()
{
TDate datasc(TODAY);
if (esercizi().date2esc(datasc) == 0)
return error_box("Attenzione non esiste l'esercizio corrispondente al %s", datasc.string());
_rel=new TRelation (LF_LVCONDV);
_msk= new TContratti_msk;
TDate datasc(TODAY);
if (esercizi().date2esc(datasc) == 0)
return message_box("Attenzione non esiste l'esercizio corrispondente al %s", datasc.string());
TSheet_field& ss=_msk->sfield(F_RIGHE);
TSheet_field& ss = _msk->sfield(F_RIGHE);
ss.set_auto_append();
ss.set_append(false);