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 » ArrayCtrl column width problem
ArrayCtrl column width problem [message #22674] Tue, 04 August 2009 13:12 Go to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello all

When adding dinamically columns to an ArrayCtrl the columns do not get the right size until Maximizing the window.

Grid is defined like this:

grid.MultiSelect().HeaderObject().Absolute().Clipboard();


Before filling the grid:

grid.Reset();


And during program running columns are added dinamically (only when needed) like this:

tabGrid->grid.AddColumn("", 100);


Doing this it is got:

index.php?t=getfile&id=1874&private=0

After doing a Maximize it is viewed right:

index.php?t=getfile&id=1875&private=0

Best regards
Koldo
  • Attachment: Dib1.PNG
    (Size: 8.88KB, Downloaded 561 times)
  • Attachment: Dib2.PNG
    (Size: 15.25KB, Downloaded 622 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Accessing embedded controls in a gridCtrl
Next Topic: Substring formating in ArrayCtrl (SqlCtrl)
Goto Forum:
  


Current Time: Thu May 09 18:15:52 CEST 2024

Total time taken to generate the page: 0.02129 seconds