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 to create a GridCtrl with fixed cell size
Re: How to create a GridCtrl with fixed cell size [message #15941 is a reply to message #15939] Mon, 19 May 2008 12:48 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Quote:


No, not like a spreadsheet. For example, if at first I have 5 columns, and after resize 6 could fit, then I need the control to add a column and the first row to display the first 6 items, not just the first 5 as before the resize (and the rest of the rows to pick up the change, and also shift their items). I call this a vertical list Smile. Something like the way Toolbar expands and aligns items as you change the size of the window.

Well, I was picturing something like this:
index.php?t=getfile&id=1208&private=0
If you don't want to have to add all of column data at the start you could just detect when an unfilled column is being displayed and then fill it. Trying to add columns as the ctrl expands sounds a bit insane to me Smile, and you may get performace issues from all the layout code that gets executed.
  • Attachment: arrayctrl.png
    (Size: 12.95KB, Downloaded 1218 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bad align of an optionbutton in gridctrl
Next Topic: GridCtrl - copy all [Feature Request]
Goto Forum:
  


Current Time: Sat Jun 08 10:48:44 CEST 2024

Total time taken to generate the page: 0.01904 seconds