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 » Extra libraries, Code snippets, applications etc. » Applications created with U++ » An administrative console Part III...
Re: An administrative console Part III... [message #12033 is a reply to message #12029] Tue, 09 October 2007 08:34 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

tvanriper wrote on Mon, 08 October 2007 17:27

I specifically switched from the ArrayCtrl to the GridCtrl so I could take advantage of the automatic sorting (click on the header bits, and it sorts for you). Very nice work. I love how you can use Values in the rows to provide for automatic sorting... I didn't have to do anything special beyond creating a custom sort for the status column of the Meeting tab. The Status column actually holds a custom Value that sorts. Not hard to do, once you figure it out.


Frankly, auto sorting was one of the reason behind writing GridCtrl. First I wanted to fix ArrayCtrl but Mirek had his own vision of it (and Mirek for most of the time wants to keep minimal functionality (but with maximum flexibility)). I rather prefer to create "rich" widgets (which implements more common functionality) to not repeat myself in each next project (like adding sorting, display classes to change background of row etc.)
To change the look of GridCtrl just use grid.SetDisplay() and pass to it your own GridDisplay class (there are Paint and PaintFixed methods).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: An administrative console Part II...
Next Topic: World Suite 3D
Goto Forum:
  


Current Time: Fri Jun 13 14:51:17 CEST 2025

Total time taken to generate the page: 0.04674 seconds