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:
bonazzi 2016-09-26 22:34:38 +00:00
parent 8e237a785b
commit 2ba1523902

View File

@ -138,10 +138,13 @@ protected:
virtual const TVariant& get_field(int logic, const char* field) const;
virtual void set_custom_filter(TCursor& cursor) const { }
public:
bool valid_cursor() const { return _cursor != NULL; }
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);
virtual void requery();
virtual TRecnotype items() const;