Patch level :4.0 494

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :figatine da ritocco


git-svn-id: svn://10.65.10.50/trunk@14335 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2006-09-21 09:59:33 +00:00
parent f3f93431ad
commit 2929d27a03

View File

@ -21,8 +21,8 @@ class TForm_schedacesp : public TForm_cespiti
public: public:
virtual bool validate(TForm_item &cf, TToken_string &s); virtual bool validate(TForm_item &cf, TToken_string &s);
void set_testata() {set_header(1,TRUE);} void set_testata() {set_header(1,true);}
void set_pedata() {set_footer(1,FALSE); set_footer(1,TRUE);} void set_pedata() {set_footer(1,false); set_footer(1,true);}
TForm_schedacesp(); TForm_schedacesp();
TPrint_section& get_rigauno() {return section('B', first_page);} TPrint_section& get_rigauno() {return section('B', first_page);}
TPrint_section& get_rigadue() {return section('B', odd_page);} TPrint_section& get_rigadue() {return section('B', odd_page);}
@ -83,7 +83,7 @@ bool TStampastorico_mask::on_field_event(TOperable_field& o, TField_event e, lon
break; break;
default: break; default: break;
} }
return TRUE; return true;
} }
//-----SKELETON APPLICATION------------------------------------------------------------------------------------------// //-----SKELETON APPLICATION------------------------------------------------------------------------------------------//
@ -353,7 +353,7 @@ bool TStampa_storico::stampa_ammortamenti(const int tipo, int esc_ini, int esc_f
//parte principale del programma //parte principale del programma
void TStampa_storico::print_percespite(const int tipo) void TStampa_storico::print_percespite(const int tipo)
{ {
bool ho_stampato_qualcosa = FALSE; bool ho_stampato_qualcosa = false;
print_header(tipo); // stampa l'intestazione;tipo si riferisce al tipo di situazione da stampare print_header(tipo); // stampa l'intestazione;tipo si riferisce al tipo di situazione da stampare
print_footer(); //stampa data e pagenumber print_footer(); //stampa data e pagenumber
@ -479,7 +479,7 @@ void TStampa_storico::print_percespite(const int tipo)
section2ven.update(); section2ven.update();
for (int i = 0; i < r; i++) // stampa le righe 2 con i movimenti vendita for (int i = 0; i < r; i++) // stampa le righe 2 con i movimenti vendita
printer().print(section2ven.row(i)); printer().print(section2ven.row(i));
ho_stampato_qualcosa = TRUE; ho_stampato_qualcosa = true;
} }
else // se é un movimento NON di vendita... else // se é un movimento NON di vendita...
{ {
@ -612,7 +612,7 @@ void TStampa_storico::main_loop()
break; break;
} }
cursore.setregion(rec,rec,0x2); cursore.setregion(rec,rec,0x2);
cursore.setfilter(filtro,TRUE); cursore.setfilter(filtro,true);
long num = cursore.items(); long num = cursore.items();
cursore.freeze(); cursore.freeze();
@ -628,7 +628,7 @@ void TStampa_storico::main_loop()
print_percespite(3); print_percespite(3);
} }
printer().close(); printer().close();
cursore.freeze(FALSE); cursore.freeze(false);
} }
} }