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:
guy 1996-01-31 11:53:58 +00:00
parent f3802c0cf8
commit d6a1c66f1d
2 changed files with 5 additions and 1 deletions

View File

@ -540,7 +540,9 @@ bool TMask::check_fields()
for (int i = 0; i < max; 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)
{
const int pa = find_parent_page(f);

View File

@ -25,6 +25,8 @@
#define SCAD_CODABI "CODABI"
#define SCAD_CODCAB "CODCAB"
#define SCAD_CODAG "CODAG"
#define SCAD_DESCR "DESCR"
#define SCAD_BLOCCATA "BLOCCATA"
#endif