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 » U++ Library : Other (not classified elsewhere) » Setting right align in ArrayCtrl does not work
Setting right align in ArrayCtrl does not work [message #52093] Thu, 18 July 2019 09:45 Go to previous message
aftershock is currently offline  aftershock
Messages: 141
Registered: May 2008
Experienced Member
Any idea why?

void set_tradelist_oolumns ( ArrayCtrl & ac )
{
ac.AddColumn ( "Ticket", t_ ( "Ticket" ) ).Sorting();
ac.AddColumn ( t_ ( "Time" ) ).Sorting();
ac.AddColumn ( t_ ( "Symbol" ) ).Sorting();
ac.AddColumn ( t_ ( "Type" ) ).Sorting().SetConvert ( Single<MyOrderTypeConvert>() );
ac.AddColumn ( t_ ( "Size" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Price" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Swap" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Profit" ) ).Sorting().HeaderTab().AlignRight();
// ac.AddColumn ( t_ ( "Equity" ) ).Sorting();
ac.AddColumn ( t_ ( "Balance" ) ).Sorting().HeaderTab().AlignRight();
// ac.AddColumn ( t_ ( "Max drawdown" ) ).Sorting();
// ac.AddColumn ( t_ ( "Date of max drawdown" ) ).Sorting();
ac.ColumnWidths ( "1 4 3 2 2 2 2 2 2" );
}
 
Read Message
Read Message
Read Message
Previous Topic: RegExp::ReplaceGlobal() is buggy
Next Topic: Unable to run exe file in windows
Goto Forum:
  


Current Time: Sat Jul 04 04:37:36 CEST 2020

Total time taken to generate the page: 0.00909 seconds