mask.cpp Corretta check_fields per gestire anche sheet vuoti
scadenze.h Aggiunti campi Veronesi git-svn-id: svn://10.65.10.50/trunk@2544 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f3802c0cf8
commit
d6a1c66f1d
@ -540,7 +540,9 @@ bool TMask::check_fields()
|
|||||||
for (int i = 0; i < max; i++)
|
for (int i = 0; i < max; i++)
|
||||||
{
|
{
|
||||||
TMask_field& f = fld(i);
|
TMask_field& f = fld(i);
|
||||||
if (!f.active()) continue; // Don't test inactive fields
|
|
||||||
|
const bool on = f.class_id() == CLASS_SHEET_FIELD ? f.shown() : f.active();
|
||||||
|
if (!on) continue; // Don't test inactive fields
|
||||||
if (f.parent() != curpage)
|
if (f.parent() != curpage)
|
||||||
{
|
{
|
||||||
const int pa = find_parent_page(f);
|
const int pa = find_parent_page(f);
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#define SCAD_CODABI "CODABI"
|
#define SCAD_CODABI "CODABI"
|
||||||
#define SCAD_CODCAB "CODCAB"
|
#define SCAD_CODCAB "CODCAB"
|
||||||
#define SCAD_CODAG "CODAG"
|
#define SCAD_CODAG "CODAG"
|
||||||
|
#define SCAD_DESCR "DESCR"
|
||||||
|
#define SCAD_BLOCCATA "BLOCCATA"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user