Patch level :2.2 208
Files correlati :ve0.exe Ricompilazione Demo : [ ] Commento :eliminata l'implementazione del metodo che controllava il campo per la scelta della stampante per numerazione documento git-svn-id: svn://10.65.10.50/trunk@13461 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1666961f0a
commit
46fbff24e0
@ -63,29 +63,7 @@ void TVendite_mask::reset_printer_config() const
|
||||
|
||||
bool TVendite_mask::on_num_event(TOperable_field& o, TField_event e, long jolly)
|
||||
{
|
||||
switch(o.dlg())
|
||||
{
|
||||
case NUM_DEFPRINTER:
|
||||
if (e == fe_button && !query_mode())
|
||||
{
|
||||
TPrinter& pr = printer();
|
||||
TString16 config; get_printer_config(config);
|
||||
pr.read_configuration(config);
|
||||
pr.set();
|
||||
e = fe_init;
|
||||
}
|
||||
if (e == fe_init)
|
||||
{
|
||||
TString name; get_printer_name(name);
|
||||
o.set(name);
|
||||
}
|
||||
if (e == fe_close && o.empty())
|
||||
reset_printer_config();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
return true; //metodo che gestiva la stampante per le numerazioni documenti
|
||||
}
|
||||
|
||||
bool TVendite_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
||||
|
Loading…
x
Reference in New Issue
Block a user