Patch level : 12.0 no patch
Files correlati : Commento : Aggiunti metodi freeze unfreeze frozen not_frozen git-svn-id: svn://10.65.10.50/branches/R_10_00@23328 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									8e237a785b
								
							
						
					
					
						commit
						2ba1523902
					
				@ -138,10 +138,13 @@ protected:
 | 
				
			|||||||
  virtual const TVariant& get_field(int logic, const char* field) const;
 | 
					  virtual const TVariant& get_field(int logic, const char* field) const;
 | 
				
			||||||
  virtual void set_custom_filter(TCursor& cursor) const { }
 | 
					  virtual void set_custom_filter(TCursor& cursor) const { }
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 | 
					 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	bool valid_cursor() const { return _cursor != NULL; }
 | 
						bool valid_cursor() const { return _cursor != NULL; }
 | 
				
			||||||
  virtual TCursor* cursor() const;
 | 
					  virtual TCursor* cursor() const;
 | 
				
			||||||
 | 
						void freeze(bool on = true) const { return cursor()->freeze(on); }
 | 
				
			||||||
 | 
						void unfreeze() const { return cursor()->freeze(false); }
 | 
				
			||||||
 | 
						bool frozen(bool on = true) const { return cursor()->frozen(); }
 | 
				
			||||||
 | 
						bool not_frozen(bool on = true) const { return cursor()->not_frozen(); }
 | 
				
			||||||
  void set(const char* use);
 | 
					  void set(const char* use);
 | 
				
			||||||
  virtual void requery();
 | 
					  virtual void requery();
 | 
				
			||||||
  virtual TRecnotype items() const;
 | 
					  virtual TRecnotype items() const;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user