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:
parent
f2d3d19d5b
commit
2111ada3bd
@ -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 <xvt.h>
|
||||||
|
|
||||||
#include <applicat.h>
|
#include <applicat.h>
|
||||||
@ -1542,6 +1542,7 @@ bool TBrowse::check(CheckTime t)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
do_clear();
|
do_clear();
|
||||||
|
if (_fld->mask().mode() != MODE_QUERY && _fld->check_enabled())
|
||||||
_fld->set_dirty(3);
|
_fld->set_dirty(3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
#ifndef __MASKFLD_H
|
||||||
#define __MASKFLD_H
|
#define __MASKFLD_H
|
||||||
|
|
||||||
@ -170,6 +170,7 @@ public:
|
|||||||
TString& get() const;
|
TString& get() const;
|
||||||
|
|
||||||
virtual const char* picture_data(const char* data, bool video);
|
virtual const char* picture_data(const char* data, bool video);
|
||||||
|
virtual const char * warning() { return "";}
|
||||||
|
|
||||||
bool autoload(const TRelation* r = NULL);
|
bool autoload(const TRelation* r = NULL);
|
||||||
bool autosave(TRelation* r = NULL) const;
|
bool autosave(TRelation* r = NULL) const;
|
||||||
@ -250,6 +251,7 @@ public:
|
|||||||
virtual bool has_check() const;
|
virtual bool has_check() const;
|
||||||
virtual bool has_query() const { return _browse || _sheet;}
|
virtual bool has_query() const { return _browse || _sheet;}
|
||||||
virtual const char* picture_data(const char* data, bool video);
|
virtual const char* picture_data(const char* data, bool video);
|
||||||
|
virtual const char * warning() { return _warning;}
|
||||||
virtual void show(bool on = TRUE);
|
virtual void show(bool on = TRUE);
|
||||||
virtual void enable(bool on = TRUE);
|
virtual void enable(bool on = TRUE);
|
||||||
virtual CheckType check_type() const { return _check; }
|
virtual CheckType check_type() const { return _check; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user