Patch level :4.0 787
Files correlati : Ricompilazione Demo : [ ] Commento :riporto della 3.0 / 3.1 alla 986 (elenco clifo) git-svn-id: svn://10.65.10.50/trunk@15655 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
97112d1de8
commit
9f0b80ed8c
@ -655,6 +655,7 @@ class TAlleg_mask : public TAutomask
|
|||||||
|
|
||||||
protected: // TAutomask
|
protected: // TAutomask
|
||||||
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
|
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
|
||||||
|
virtual void on_firm_change();
|
||||||
|
|
||||||
protected: // Elaborazione
|
protected: // Elaborazione
|
||||||
const TRectype& contribuente() const;
|
const TRectype& contribuente() const;
|
||||||
@ -1232,7 +1233,7 @@ bool TAlleg_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
|||||||
case F_NAME:
|
case F_NAME:
|
||||||
if (e == fe_init || e == fe_modify)
|
if (e == fe_init || e == fe_modify)
|
||||||
{
|
{
|
||||||
if (o.empty())
|
if (e == fe_init || o.empty())
|
||||||
{
|
{
|
||||||
const TRectype& anag = contribuente();
|
const TRectype& anag = contribuente();
|
||||||
TFilename ecf = anag.get(ANA_PAIV);
|
TFilename ecf = anag.get(ANA_PAIV);
|
||||||
@ -1324,6 +1325,12 @@ bool TAlleg_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TAlleg_mask::on_firm_change()
|
||||||
|
{
|
||||||
|
set(F_NAME, "", 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
TAlleg_mask::TAlleg_mask() : TAutomask("cg3900a")
|
TAlleg_mask::TAlleg_mask() : TAutomask("cg3900a")
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user