Riportata la R_98_01_01M sul main trunk
git-svn-id: svn://10.65.10.50/trunk@5883 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
98cd7bcf10
commit
37d71bc9d8
@ -4516,19 +4516,20 @@ bool TForm::print(
|
||||
// quanto resta da stampare sta nell'ultima pagina
|
||||
if (!fixed_pages() && set_body(0,FALSE) * word(to-i+1) <= pr.formlen()- set_header(1,FALSE) - set_footer(0,FALSE))
|
||||
{
|
||||
while (i < to && from >= 0) // stampa l'ultima pagina
|
||||
while (i <= to && from >= 0) // stampa l'ultima pagina
|
||||
{
|
||||
i++;
|
||||
set_last_page(TRUE);
|
||||
set_background(0, TRUE);
|
||||
set_header(0, TRUE);
|
||||
if (cursor()) {
|
||||
if (cursor())
|
||||
{
|
||||
*cursor() = i;
|
||||
set_body(0, TRUE);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -171,11 +171,13 @@ void TMask::add_field(TMask_field* f)
|
||||
const short id = f->dlg();
|
||||
if (id > 0 && id < 512)
|
||||
{
|
||||
#ifdef DBG
|
||||
if (_position.get_long(id))
|
||||
NFCHECK("Il campo %d e' duplicato!", id);
|
||||
#endif
|
||||
_position.add_long(pos, id);
|
||||
if (_position.objptr(id))
|
||||
{
|
||||
if (id > DLG_QUIT)
|
||||
NFCHECK("Il campo %d e' duplicato!", id);
|
||||
}
|
||||
else
|
||||
_position.TArray::add((TObject*)pos, id);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1922,4 +1924,4 @@ TTimed_breakbox::TTimed_breakbox(const char * message,int seconds,int x,int y)
|
||||
|
||||
TTimed_breakbox::~TTimed_breakbox()
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user