Patch level :10.0 240
Files correlati : Ricompilazione Demo : [ ] Commento : sistemato problema della comparsa di cazzate nei profili standard git-svn-id: svn://10.65.10.50/trunk@18282 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3fa48db8a7
commit
83bc9392d2
@ -1261,7 +1261,7 @@ void TMask_generator::genera( const TString& profilo )
|
||||
|
||||
// Forza l'estensione al profilo
|
||||
proname.ext( "ini" );
|
||||
|
||||
|
||||
// Se il file di profilo non esiste, esci con un errore fatale
|
||||
if (!fexist( proname))
|
||||
{
|
||||
@ -1283,7 +1283,6 @@ void TMask_generator::genera( const TString& profilo )
|
||||
_m = new TMaschera( _mskname );
|
||||
|
||||
// Definizione della toolbar
|
||||
// _m->outline( "TOOLBAR \"\" 0 -2 0 2" );
|
||||
_m->outline( "TOOLBAR \"\" 0 0 0 2" );
|
||||
|
||||
_m->control( T_BOTTONE, DLG_SAVEREC, 1002 );
|
||||
@ -1304,7 +1303,6 @@ void TMask_generator::genera( const TString& profilo )
|
||||
_m->begin( );
|
||||
_m->prompt( -35, -1, "E~labora" );
|
||||
_m->picture(BMP_ELABORA);
|
||||
// _m->message( "EXIT,345" );
|
||||
_m->end( );
|
||||
|
||||
_m->control( T_BOTTONE, DLG_PRINT, 1002 );
|
||||
@ -1329,11 +1327,11 @@ void TMask_generator::genera( const TString& profilo )
|
||||
// End della toolbar
|
||||
_m->end( );
|
||||
|
||||
|
||||
|
||||
do_events();
|
||||
|
||||
// Header della prima pagina
|
||||
|
||||
const TString80 title(_pro->get("Title", "MAIN", _m->page()));
|
||||
const TString80 title(_pro->get("Title", "MAIN", _m->page(), TR("Testata")));
|
||||
|
||||
_m->pagina( _m->page( ), title);
|
||||
|
||||
@ -1423,7 +1421,6 @@ void TMask_generator::genera( const TString& profilo )
|
||||
_m->field( DOC_DATADOC );
|
||||
TString m("CO,7@");
|
||||
_m->message(m);
|
||||
// _m->flag( "A" );
|
||||
_m->end( );
|
||||
|
||||
_m->control( T_STRINGA, F_STATO, 1 );
|
||||
@ -1659,10 +1656,17 @@ public:
|
||||
|
||||
|
||||
void TGenMask_application::main_loop( )
|
||||
|
||||
{
|
||||
TString profilo = argv(2);
|
||||
profilo.lower();
|
||||
if (profilo.find("ve0300a") >= 0)
|
||||
{
|
||||
return; //se trova ve0300a DEVE compilare SOLO il .ini, quindi DEVE uscire qui!!!! errore rilevato il 15/02/2009..
|
||||
//..ovvero la prima volta che sono stati introdotti i title delle pagine dei profili standard
|
||||
}
|
||||
|
||||
TMask_generator gen(_tablefile);
|
||||
gen.genera(argv(2));
|
||||
gen.genera(profilo);
|
||||
}
|
||||
|
||||
int ve0300( int argc, char* argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user