Aggiunto metodo per settare _lastpage
git-svn-id: svn://10.65.10.50/trunk@2278 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									5a9ca6285e
								
							
						
					
					
						commit
						fb74dc3723
					
				| @ -2554,7 +2554,7 @@ bool TForm::print(long from, long to) | ||||
|   pr.set_fontname(_fontname);                      // according to current form
 | ||||
|   const bool was_open = pr.isopen(); | ||||
| 
 | ||||
|   _lastpage = FALSE;                               // non e' l'ultima pagina
 | ||||
|   set_last_page(FALSE);                            // non e' l'ultima pagina
 | ||||
|    | ||||
|   set_background(1, TRUE); | ||||
| 
 | ||||
| @ -2584,7 +2584,7 @@ bool TForm::print(long from, long to) | ||||
|   if (i == lastrec) | ||||
|   {                 | ||||
|     if (cursor()) *cursor() = i; | ||||
|     _lastpage = TRUE; | ||||
|     set_last_page(TRUE); | ||||
|     set_background(0, TRUE); | ||||
|     set_header(0, TRUE); | ||||
|     set_body(0, TRUE); | ||||
|  | ||||
| @ -216,6 +216,9 @@ public: | ||||
|   char f_centerright()  { return _fink.get_char(8);  }                                               | ||||
|   char f_horizontal()   { return _fink.get_char(9);  }                                               | ||||
|   char f_vertical()     { return _fink.get_char(10); }                                               | ||||
|    | ||||
|   // Notifica l'inizio di stampa dell'ultima pagina
 | ||||
|   void set_last_page(bool lp) { _lastpage = lp; } | ||||
| 
 | ||||
|   // if code == NULL it's a base form
 | ||||
|   // otherwise it's integrated by a file definition                                       
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user