Patch level : 10.0 332
Files correlati : pe0.exe Ricompilazione Demo : [ ] Commento Preventivazione gestione k git-svn-id: svn://10.65.10.50/trunk@19027 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a222f2c19d
commit
08fde2d0d2
@ -99,17 +99,19 @@ inline TGestione_preventivo_app& peapp() { return (TGestione_preventivo_app &)ma
|
|||||||
|
|
||||||
const TString & TGestione_preventivo_msk::build_tree_string(int level)
|
const TString & TGestione_preventivo_msk::build_tree_string(int level)
|
||||||
{
|
{
|
||||||
TString & tree = get_tmp_string(20);
|
TString & tree = get_tmp_string(30);
|
||||||
|
|
||||||
if (level < 10)
|
if (level < 10)
|
||||||
{
|
{
|
||||||
if (level > 0)
|
tree.fill(' ', level + 3);
|
||||||
tree.fill(' ', level);
|
|
||||||
tree << '+';
|
tree << '+';
|
||||||
tree.rpad(10, '-');
|
tree.rpad(13, '-');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
tree = " +";
|
tree = " +";
|
||||||
|
TString l; l.format("%02d", level + 1);
|
||||||
|
|
||||||
|
tree.overwrite(l, 0, 2);
|
||||||
return tree;
|
return tree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,7 +261,7 @@ TVariable_mask * TGestione_preventivo_msk::riga_mask(int numriga)
|
|||||||
if (is_new && m != NULL)
|
if (is_new && m != NULL)
|
||||||
{
|
{
|
||||||
const TRiga_documento& riga = doc()[numriga + 1];
|
const TRiga_documento& riga = doc()[numriga + 1];
|
||||||
TEdit_field & tree = m->add_string(FR_JOLLY1, 0, "Albero ", 2, 20, 10, "D_");
|
TEdit_field & tree = m->add_string(FR_JOLLY1, 0, "Albero ", 2, 20, 13, "D_");
|
||||||
TEdit_field & k = m->add_string(FR_JOLLY2, 0, "K ", 25, 20, 25);
|
TEdit_field & k = m->add_string(FR_JOLLY2, 0, "K ", 25, 20, 25);
|
||||||
TEdit_field & v = m->add_currency(FR_JOLLY3, 0, "Costo", 53, 20, 15, "U");
|
TEdit_field & v = m->add_currency(FR_JOLLY3, 0, "Costo", 53, 20, 15, "U");
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ BLANK = S_DISABILITATO //4000
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
|
|
||||||
[SHEET]
|
[SHEET]
|
||||||
Col(0) = FR_JOLLY1|Albero|10
|
Col(0) = FR_JOLLY1|Albero|13
|
||||||
Col(1) = FR_CODMAG
|
Col(1) = FR_CODMAG
|
||||||
Col(2) = FR_CODDEP
|
Col(2) = FR_CODDEP
|
||||||
Col(3) = FR_CODART
|
Col(3) = FR_CODART
|
||||||
|
Loading…
x
Reference in New Issue
Block a user