Spostati i campi senza prompt fuori dal video
git-svn-id: svn://10.65.10.50/trunk@1821 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e44826200b
commit
4c6fd5b667
@ -98,7 +98,10 @@ TMask_field::TMask_field(TMask* m)
|
|||||||
: _mask(m), _win(NULL_WIN), _promptwin(NULL_WIN), _dlg(0),
|
: _mask(m), _win(NULL_WIN), _promptwin(NULL_WIN), _dlg(0),
|
||||||
_keys(0), _groups(0), _help(0), _handler(NULL),
|
_keys(0), _groups(0), _help(0), _handler(NULL),
|
||||||
_validate_func(-1), _validate_parms(1), _field(NULL)
|
_validate_func(-1), _validate_parms(1), _field(NULL)
|
||||||
{}
|
{
|
||||||
|
_x = -1;
|
||||||
|
_y = -1;
|
||||||
|
}
|
||||||
|
|
||||||
// Certified 100%
|
// Certified 100%
|
||||||
TMask_field::~TMask_field()
|
TMask_field::~TMask_field()
|
||||||
@ -338,6 +341,11 @@ int TMask_field::create_prompt(
|
|||||||
-1
|
-1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (_x == -1 && _y == -1)
|
||||||
|
{
|
||||||
|
_x = 1;
|
||||||
|
_y = 30;
|
||||||
|
}
|
||||||
return width;
|
return width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user