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
Re: ArrayCtrl column width problem [message #22675 is a reply to message #22674] Tue, 04 August 2009 14:02 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
koldo wrote on Tue, 04 August 2009 07:12

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


Unless you are in Absolute mode, these numbers represent ratio.

If this does not explain the behaviour, I need some testcase Smile

Mirek
 
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: Fri Jul 18 12:01:56 CEST 2025

Total time taken to generate the page: 0.03805 seconds