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 #10507 is a reply to message #10506] Fri, 13 July 2007 00:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
kfeng wrote on Thu, 12 July 2007 17:54


Another question: is there a standard format for displaying %d or %f like this:

$58,782,398.23

with commas?



No.

Quote:


If not, maybe you can guide me to where I can add code for this feature with any suggestions on the protocol. If you do, I can code it up and submit it for addition to the code base.



But you in fact do not need to fix uppsrc code to get it: Format is extensible, you can add your own formatters quite easily, see RegisterFormatter (it is even documented Wink.

In the same time, would be nice to have it in Core too later, but for that purpose it would best be done configurable via translations... (means it should be described by some string literal, just like date or time).

Mirek

[Updated on: Fri, 13 July 2007 00:57]

Report message to a moderator

 
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 17:00:05 GMT+2 2026

Total time taken to generate the page: 0.24236 seconds