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: how to set column width? [SOLVED]
ArrayCtrl: how to set column width? [SOLVED] [message #192] Thu, 01 December 2005 10:27 Go to previous message
jeff1101 is currently offline  jeff1101
Messages: 11
Registered: November 2005
Location: Philippines
Promising Member

I want to individually set the column widths for the
ArrayCtrl. How do I go about doing this?

I want it so that the Columns automatically size depending
on the length of the field under the column. I already
compute this largest "size" by getting the largest for
all row occurrences of the field.

The Problem now is to set the column width, The default
behaviour of the ArrayCtrl is that it sets all column width
to the same size and tries to fit all the columns in the
ArrayCtrl "client" area so that it doesnt even show the
horizontal scroll bar.

Sorry for my questions but since these controls dont have
much in a way of documentation I end up guessing. Looking
at the header files and method names doesnt help either
especially if the method names are short and obscure.

[Updated on: Mon, 01 May 2006 14:17] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Next Topic: SpreadSheet control
Goto Forum:
  


Current Time: Thu May 16 19:56:02 CEST 2024

Total time taken to generate the page: 0.02059 seconds