Patch level : 10.0 218

Files correlati     : ve0.exe
Ricompilazione Demo : [ ]
Commento            :

Sistemato il pulsante conferma per le  umerazioni provvisorie


git-svn-id: svn://10.65.10.50/trunk@18158 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-01-30 10:44:46 +00:00
parent e195fbf05d
commit 83a5da0ab5
2 changed files with 3 additions and 9 deletions

View File

@ -1165,13 +1165,7 @@ int TDocumento::write_rewrite(TBaseisamfile & f, bool re) const
rm.put(RMOVMAG_CODART, codart);
rm.put(RMOVMAG_LIVGIAC, r.get(RDOC_LIVELLO));
rm.put(RMOVMAG_UM, r.get(RDOC_UMQTA));
rm.put(RMOVMAG_QUANT, qta);
/* TCurrency_documento prezzo(r.prezzo(TRUE, FALSE), *this, TRUE);
prezzo.change_to_firm_val();
rm.put(RMOVMAG_PREZZO, prezzo.get_num()); */
rm.put(RMOVMAG_CODCAUS, causrit);
rm.put(RMOVMAG_TIPORIGA, (char) riga_dadocumento);
}

View File

@ -133,7 +133,7 @@ TDocumento_mask::TDocumento_mask(const char* td)
set_field_handler( F_DATADOCRIF, datadocrif_handler);
set_handler( DLG_ELABORA, elabora_handler );
set_handler( DLG_PRINT, print_handler );
set_handler( DLG_CONFERMA, confirm_handler );
set_handler( DLG_CONFERMA, confirm_handler );
const TString_array& handlers = tdoc.handlers();
int numhandler = handlers.items();
@ -1626,8 +1626,8 @@ void TDocumento_mask::highlight(COLOR high_back_color, COLOR high_color)
{
const bool on = doc()[i + 1].linked();
COLOR back = on ? high_back_color : NORMAL_BACK_COLOR;
COLOR fore = on ? high_color : NORMAL_COLOR;
COLOR back = on ? high_back_color : -1;
COLOR fore = on ? high_color : -1;
sf.set_back_and_fore_color(back, fore, i);
sf.force_update(i);