I initialized as (for testing):
// French_Locale
Var Fr_Locale As New Locale("fr-FR")
LB.CellTextAt(10,1) = Obj.FolderItem.Length.ToString(Fr_Locale,"### ### ###") + " Byte(s)"
and I get:
instead of 360 156 Byte(s)…
I tried: "###,###,###"
and I get the commas instead of spaces…
What’s wrong ?
Xojo 2025r2.1
AlbertoD
(AlbertoD)
August 24, 2025, 8:17pm
2
Emile Schwarz:
What’s wrong ?
Not sure, it is working here when the format (with commas) is used:
Here too, but the thousand separator in France is a space. The decimal character is the comma (in France).
So, 1,222,333 have no sense for a French guy, unless he’s speaking English .
Doh: I do not saw the space (last line in the Debugger)… So, I will copy the line and paste it elsewhere to see if my space is there, but too thin to be seen…
AlbertoD
(AlbertoD)
August 24, 2025, 9:32pm
4
Yes, for me it shows the spaces just as you want.
1 Like
It’s late, I have to shut off and sleep. I will resume work on this project tomorrow.
Thanks Alberto.
1 Like
I just remember that I do not figured what happened, so I copied the ListBox contents and paste it in a Raw Text document:
|Daily Strip||
|---|---|
|Width:|2046|
|Height:|594|
|DPI:|72 dpi|
|File Size:|1 317 045 Byte(s)|
|||
|Atom Left||
|Width:|2048|
|Height:|1374|
|DPI:|72 dpi|
|File Size:|1 281 798 Byte(s)|
|||
|Atom Middle||
|Width:|1449|
|Height:|851|
|DPI:|72 dpi|
|File Size:|1 001 563 Byte(s)|
and here’s a screen shot of the ListBox:
It works fine; excepted that in the ListBox, the space characters are very thin. Maybe I will change the default Font to a monospaced one…
Monaco do the job, except that Bold Cell disappears…
On another image.
One more THANK YOU Alberto.
1 Like