From 2929d27a034e93264be8e36f9722c0d9f3d5c1be Mon Sep 17 00:00:00 2001 From: luca Date: Thu, 21 Sep 2006 09:59:33 +0000 Subject: [PATCH] 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 --- ce/ce3200.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ce/ce3200.cpp b/ce/ce3200.cpp index 5305b5267..ca2e0334c 100755 --- a/ce/ce3200.cpp +++ b/ce/ce3200.cpp @@ -21,8 +21,8 @@ class TForm_schedacesp : public TForm_cespiti public: virtual bool validate(TForm_item &cf, TToken_string &s); - void set_testata() {set_header(1,TRUE);} - void set_pedata() {set_footer(1,FALSE); set_footer(1,TRUE);} + void set_testata() {set_header(1,true);} + void set_pedata() {set_footer(1,false); set_footer(1,true);} TForm_schedacesp(); TPrint_section& get_rigauno() {return section('B', first_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; default: break; } - return TRUE; + return true; } //-----SKELETON APPLICATION------------------------------------------------------------------------------------------// @@ -353,7 +353,7 @@ bool TStampa_storico::stampa_ammortamenti(const int tipo, int esc_ini, int esc_f //parte principale del programma 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_footer(); //stampa data e pagenumber @@ -479,7 +479,7 @@ void TStampa_storico::print_percespite(const int tipo) section2ven.update(); for (int i = 0; i < r; i++) // stampa le righe 2 con i movimenti vendita printer().print(section2ven.row(i)); - ho_stampato_qualcosa = TRUE; + ho_stampato_qualcosa = true; } else // se é un movimento NON di vendita... { @@ -612,7 +612,7 @@ void TStampa_storico::main_loop() break; } cursore.setregion(rec,rec,0x2); - cursore.setfilter(filtro,TRUE); + cursore.setfilter(filtro,true); long num = cursore.items(); cursore.freeze(); @@ -628,7 +628,7 @@ void TStampa_storico::main_loop() print_percespite(3); } printer().close(); - cursore.freeze(FALSE); + cursore.freeze(false); } }