Patch level : 10.0

Files correlati     : ba0.exe
Ricompilazione Demo : [ ]
Commento            :
Corretta gestione eseguibili in custom:
Funzionalita' presente nella 3.2 ma non mantenuta nella 10.0


git-svn-id: svn://10.65.10.50/trunk@20426 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2010-05-04 14:11:08 +00:00
parent c3bb05f007
commit ca78035b80
4 changed files with 13 additions and 8 deletions

View File

@ -339,20 +339,20 @@ bool TMenuitem::perform_program() const
if (install_app)
{
user() = dongle().administrator(); // Divento temporaneamente amministratore
a.run(true,3); //e' una installazione -> applicazione in asincrono
a.run(true, 3); // e' una installazione -> applicazione in asincrono
set_installing_flag();
}
else
{
if (run_modal() || run_fullscreen())
{
prefix().set(NULL); // Chiude prefix
a.run(false, 3); // e' un programma sincrono
printer_destroy(); // Forza rilettura parametri della stampante
prefix().set("DEF"); // Riapre prefix
prefix().set(NULL); // Chiude prefix
a.run(false, 1); // e' un programma sincrono
printer_destroy(); // Forza rilettura parametri della stampante
prefix().set("DEF"); // Riapre prefix
}
else
a.run(true, 3, false); //e' un programma asincrono
a.run(true, 1, false); // e' un programma asincrono
}
}

View File

@ -512,7 +512,11 @@ bool TReport_mask::get_rep_path(TFilename& path) const
path.add(name);
path.ext("rep");
if (!path.exist() && is_power_station())
{
path = name;
path.ext("rep");
path.custom_path();
}
}
path.ext("rep");
}

View File

@ -191,7 +191,7 @@ END
STRING F_SHADE_OFFSET 4
BEGIN
PROMPT 32 8 "Ombreggiatura "
PROMPT 32 8 "Ombreggiatura "
FLAGS "UR"
END

View File

@ -874,6 +874,7 @@ void TReport_field_mask::set_field(const TReport_field& rf)
set(F_PATTERN, rf.pattern());
set_num(F_RADIUS, rf.radius());
set_num(F_SHADE_OFFSET, rf.shadow_offset());
set(F_SHADE_ANGLE, rf.shade_angle());
_txcolor = rf.text_color();
_fgcolor = rf.fore_color();
_bgcolor = rf.back_color();
@ -912,11 +913,11 @@ void TReport_field_mask::get_field(TReport_field& rf) const
rf.set_border(get_int(F_BORDER));
rf.set_radius(get_num(F_RADIUS));
rf.set_shadow_offset(get_num(F_SHADE_OFFSET));
rf.set_shade_angle(get_int(F_SHADE_ANGLE));
rf.set_text_color(_txcolor);
rf.set_fore_color(_fgcolor);
rf.set_back_color(_bgcolor);
rf.set_shade_color(_shcolor);
rf.set_shade_angle(get_int(F_SHADE_ANGLE));
if (strchr("VP", rf.type()) != NULL)
rf.set_picture(get_bool(F_HIDE_DOTS) ? "#########,@@" : "###.###.###,@@");
else