Corretto errore MI0159

git-svn-id: svn://10.65.10.50/trunk@1192 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-03-29 15:44:53 +00:00
parent 0fded21259
commit 8be9148697
2 changed files with 3210 additions and 3186 deletions

File diff suppressed because it is too large Load Diff

View File

@ -472,7 +472,21 @@ HIDDEN bool _reqif_val(TEdit_field& f, KEY k)
HIDDEN bool _autoexit_val(TEdit_field& f, KEY key)
{
if (f.mask().mode() != MODE_QUERY) return TRUE;
TMask& m = f.mask();
if (m.mode() != MODE_QUERY) return TRUE;
const int next = m.next_fld();
if (next != DLG_NULL && next != f.dlg() && m.field(next).in_key(0))
{
const byte last = m.num_keys();
for (byte k = 1; k <= last; k++)
if (f.in_key(k) && m.field(next).in_key(k))
return TRUE;
}
const int nparms = get_val_param_num();
bool one_not_empty = FALSE;
for (int i = nparms; i-- > 0;)