U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » how align a column?
Re: how align a column? [message #10572 is a reply to message #10532] Mon, 16 July 2007 23:53 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
kfeng wrote on Sat, 14 July 2007 03:36


Hi Mirek,
Internationalization is a little beyond me for now, so I will just submit a little snipplet for others to use/incorporate into their code:



Nothing magic there, just remember that each text literal marked by "t_" can be replaced for another language... Smile

In this case, you can e.g. try to "describe" the situation by

t_(",3.2")

- first character is "integer character separator", second number of digits to separate, third decimal point character and last number of decimal digits.

For e.g. Czech it would be translated to:

" 3,2"

which would lead to:

35 829 123,43

(just an idea!)

Mirek

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl and non contigous cells
Next Topic: Can I center an Option control in an ArrayCtrl column?
Goto Forum:
  


Current Time: Thu Oct 15 19:54:10 GMT+2 2026

Total time taken to generate the page: 0.44215 seconds