Patch level : 10.0 888
Files correlati : ef0.exe Ricompilazione Demo : [ ] Commento : Importazione effetti da ini (CHIMA) git-svn-id: svn://10.65.10.50/branches/R_10_00@21487 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7f11a0ad9d
commit
f726143f36
@ -46,6 +46,8 @@ protected:
|
|||||||
virtual TMask* get_mask(int mode) {return _msk;}
|
virtual TMask* get_mask(int mode) {return _msk;}
|
||||||
virtual bool changing_mask(int mode) {return FALSE;}
|
virtual bool changing_mask(int mode) {return FALSE;}
|
||||||
void enable_controeuro();
|
void enable_controeuro();
|
||||||
|
virtual void ini2mask(TConfig& ini, TMask& m, bool query);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual bool protected_record(TRectype&);
|
virtual bool protected_record(TRectype&);
|
||||||
@ -88,14 +90,21 @@ bool TVariazione_effetti::protected_record(TRectype& rec)
|
|||||||
// dello sheet per forzare l'utente all'inserimento di una riga
|
// dello sheet per forzare l'utente all'inserimento di una riga
|
||||||
void TVariazione_effetti::init_insert_mode(TMask&)
|
void TVariazione_effetti::init_insert_mode(TMask&)
|
||||||
{
|
{
|
||||||
_msk->reset(F_TOTIMP);
|
|
||||||
_msk->reset(F_TOTIMPVAL);
|
|
||||||
TToken_string riga("|||||||||");
|
TToken_string riga("|||||||||");
|
||||||
righe_sheet().row(0) = riga;
|
righe_sheet().row(0) = riga;
|
||||||
righe_sheet().set_dirty();
|
righe_sheet().set_dirty();
|
||||||
_msk->enable(F_TIPOCF);
|
_msk->enable(F_TIPOCF);
|
||||||
enable_controeuro();
|
enable_controeuro();
|
||||||
}
|
}
|
||||||
|
void TVariazione_effetti::ini2mask(TConfig& ini, TMask& m, bool query)
|
||||||
|
{
|
||||||
|
TRelation_application::ini2mask(ini, m, query);
|
||||||
|
TToken_string & row = righe_sheet().row(0);
|
||||||
|
|
||||||
|
row.add(ini.get("IMPORTO"), 0);
|
||||||
|
row.add(ini.get("IMPORTOVAL"), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void TVariazione_effetti::init_modify_mode(TMask& m)
|
void TVariazione_effetti::init_modify_mode(TMask& m)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user