Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » how align a column?
Re: how align a column? [message #5396 is a reply to message #5394] Mon, 18 September 2006 14:26 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
You can create a member in your class:
AlignDisplay m_right_align_display;


Set it up in constructor:
m_right_align_display.Align(ALIGN_RIGHT);


and setup the arrayctrl column:
theList.AddColumn("donativo").SetFormat("%2!nl").HeaderTab().SetDisplay(m_right_align_display);
 
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: Sat Aug 16 14:05:40 CEST 2025

Total time taken to generate the page: 0.05204 seconds