Aggiunto metodo warning

Cambiato il settaggio di dirty a 3


git-svn-id: svn://10.65.10.50/trunk@701 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1994-11-29 17:34:31 +00:00
parent f2d3d19d5b
commit 2111ada3bd
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// $Id: maskfld.cpp,v 1.53 1994-11-28 11:01:17 guy Exp $
// $Id: maskfld.cpp,v 1.54 1994-11-29 17:34:25 alex Exp $
#include <xvt.h>
#include <applicat.h>
@ -1542,7 +1542,8 @@ bool TBrowse::check(CheckTime t)
else
{
do_clear();
_fld->set_dirty(3);
if (_fld->mask().mode() != MODE_QUERY && _fld->check_enabled())
_fld->set_dirty(3);
}
}
}

View File

@ -1,4 +1,4 @@
/* $Id: maskfld.h,v 1.13 1994-11-28 11:01:22 guy Exp $ */
/* $Id: maskfld.h,v 1.14 1994-11-29 17:34:31 alex Exp $ */
#ifndef __MASKFLD_H
#define __MASKFLD_H
@ -170,6 +170,7 @@ public:
TString& get() const;
virtual const char* picture_data(const char* data, bool video);
virtual const char * warning() { return "";}
bool autoload(const TRelation* r = NULL);
bool autosave(TRelation* r = NULL) const;
@ -250,6 +251,7 @@ public:
virtual bool has_check() const;
virtual bool has_query() const { return _browse || _sheet;}
virtual const char* picture_data(const char* data, bool video);
virtual const char * warning() { return _warning;}
virtual void show(bool on = TRUE);
virtual void enable(bool on = TRUE);
virtual CheckType check_type() const { return _check; }