Aggiundo comando destroy(int numero_riga)
git-svn-id: svn://10.65.10.50/trunk@322 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									ac27109076
								
							
						
					
					
						commit
						c2d3477970
					
				@ -334,7 +334,8 @@ bool TSpreadsheet::destroy(int rec)
 | 
				
			|||||||
    enable_cell(_str.items(), -1);      // Enable last line
 | 
					    enable_cell(_str.items(), -1);      // Enable last line
 | 
				
			||||||
  }  
 | 
					  }  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (ok && mask().is_running()) update(-1);
 | 
					  if (ok && mask().is_running()) 
 | 
				
			||||||
 | 
					    update(-1);
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  return ok;
 | 
					  return ok;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -986,6 +987,13 @@ void TSheet_field::reset()
 | 
				
			|||||||
  _sheet->destroy();
 | 
					  _sheet->destroy();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Certified 100%
 | 
				
			||||||
 | 
					void TSheet_field::destroy(int r)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  _sheet->destroy(r);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void TSheet_field::parse_head(TScanner& scanner)
 | 
					void TSheet_field::parse_head(TScanner& scanner)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  _width = scanner.integer();
 | 
					  _width = scanner.integer();
 | 
				
			||||||
 | 
				
			|||||||
@ -31,6 +31,7 @@ public:
 | 
				
			|||||||
  int items() const;            // Number of rows
 | 
					  int items() const;            // Number of rows
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  virtual void reset();
 | 
					  virtual void reset();
 | 
				
			||||||
 | 
					  void destroy(int r = -1);     // Destroy row
 | 
				
			||||||
  void force_update(int r = -1);// Update data/screen
 | 
					  void force_update(int r = -1);// Update data/screen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  TMask& sheet_mask() const;
 | 
					  TMask& sheet_mask() const;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user