Lisview with decimal?

storzi

Member
Hi,

I am working with Progress 9.1D and have a ListView in a SmartWindow.
In this ListView I want to display a decimal-variable with the format (for example: 1.499,99).
Here the code where I put the variable in the ListView:

Code:
ASSIGN nkey_# = "max. Ankauf," +
                        STRING(fc-debitor.klimit - dsaldo,"-zzz,zzz,zz9.99") + ",".
ASSIGN xitem# = xList#:ListItems:Add(, nkey_#,
                                             ENTRY(1, nkey_#),
                                             1,1).
ASSIGN xitem#:SubItems(1) = ENTRY(2, nkey_#).
The only thing that goes wrong ist, that the decimal place isn`t visible in the ListView.
I think that this happens because the "," in 1.499,99 is interpreted as a seperator.

My Question:
Is there a way to assign another seperator to the ListView?

Thanks and excuse my bad english.
 
Back
Top