Patch level : 12.0 342
Files correlati : pa0.exe Agginto il bottone seleziona tutti all'invio fatture PA git-svn-id: svn://10.65.10.50/branches/R_10_00@23595 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0a8b071977
commit
79a774356f
@ -638,6 +638,22 @@ bool TPA_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
|||||||
fill();
|
fill();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case DLG_ALL:
|
||||||
|
{
|
||||||
|
TSheet_field& docs = sfield(F_DOCS);
|
||||||
|
TString_array& sht = docs.rows_array();
|
||||||
|
const int items = sht.items();
|
||||||
|
|
||||||
|
if (items > 0)
|
||||||
|
{
|
||||||
|
const TString4 select = *(sht.row(0).get(0)) == 'X' ? "" : "X";
|
||||||
|
for (int i = 0; i < items; i++)
|
||||||
|
sht.row(i).add(select, 0);
|
||||||
|
docs.force_update();
|
||||||
|
// docs.show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#include "pa0100a.h"
|
#include "pa0100a.h"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
#include <elabar.h>
|
|
||||||
|
#include <allbar.h>
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
PAGE "Fatture Pubblica Amministrazione" 0 2 0 0
|
PAGE "Fatture Pubblica Amministrazione" 0 2 0 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user