Corretta generazione campi memo

git-svn-id: svn://10.65.10.50/trunk@4424 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1997-05-27 16:56:21 +00:00
parent a5dac2cb67
commit 27beae6c17

View File

@ -532,7 +532,7 @@ static void verifica_campo( const TObject& campo )
if (cmp.stato() != S_NASCOSTO) if (cmp.stato() != S_NASCOSTO)
{ {
int h = cmp.y() + 1; int h = cmp.y() + 1;
if (cmp.type() == T_CORNICE) if (cmp.type() == T_CORNICE || cmp.type() == T_MEMO )
h += cmp.size()%100 - 1; h += cmp.size()%100 - 1;
if (gruppo.height() < h) if (gruppo.height() < h)
gruppo.height(h); gruppo.height(h);
@ -1156,7 +1156,7 @@ void TMask_generator::genera( const TString& profilo )
_m->control( T_BOTTONE, 99, 1002 ); _m->control( T_BOTTONE, 99, 1002 );
_m->begin( ); _m->begin( );
_m->prompt( -35, -1, "E~labora" ); _m->prompt( -35, -1, "E~labora" );
_m->message( "EXIT,345" ); // _m->message( "EXIT,345" );
_m->end( ); _m->end( );
_m->control( T_BOTTONE, DLG_PRINT, 1002 ); _m->control( T_BOTTONE, DLG_PRINT, 1002 );