Patch level : 10.0

Files correlati     : ba8.exe
Ricompilazione Demo : [ ]
Commento            :
 0001643: Gestione campi trasparenti nei report
Per quei campi dove non risulta settato il valore dello sfondo (trasparente, pieno, ecc..) metteremo di default pieno. Questo dovrebbe simulare il comportamento del programma prima della modifica.


git-svn-id: svn://10.65.10.50/trunk@20499 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2010-05-26 08:58:13 +00:00
parent 18a40d0a62
commit 065f2502a3

View File

@ -708,13 +708,9 @@ void TReport_field_mask::vedo_non_vedo()
show(F_HIDE_ZEROES, is_numeric || type == 'D'),
show(F_HALIGN, is_text || type == 'B');
enable(F_HALIGN, !is_numeric);
if (is_numeric)
{
disable(F_HALIGN);
set(F_HALIGN, "R"); // Allineo a destra i numeri
}
else
enable(F_HALIGN);
set(F_HALIGN, "R"); // Forzo allineamento a destra dei numeri
show(F_VALIGN, is_text || type == 'B');
show(F_TEXT, is_text && !is_currency);
@ -722,6 +718,7 @@ void TReport_field_mask::vedo_non_vedo()
show(F_DYNAMIC_HEIGHT, type == 'S');
show(F_FGCOLOR, type != 'I');
show(F_BGCOLOR, type != 'L');
show(F_TXCOLOR, is_text);
show(F_PATTERN, type != 'L' && type != 'I' && type != 'B');
show(F_RADIUS, type != 'E' && type != 'L' && type != 'I' && type != 'B');
show(F_SHADE_OFFSET,type != 'E' && type != 'L' && type != 'B');