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 sort the ArrCtrl [SOLVED]
Re: How to sort the ArrCtrl [message #2239 is a reply to message #2228] Wed, 05 April 2006 03:08 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
forlano wrote on Tue, 04 April 2006 17:50

In the ArrCtrl documentation there are many Sort methods with obscure (for me) syntax.

I can avoid all of them with the following approach:
1) get the record from the array
2) sort them
3) clear the array
4) put the sorted record in the array.

But I am sure there is shortcut for it thought for lazy man. Just I would like to click on the header of the array and it show the new order. Is there somebody (I know who Smile ) that can show one minimalist example?

Thank you,
Luigi


You are not lazy enough once again! Smile 4 Operations!!! and so difficult?! You must avoid such thinking with Ultimate++... Smile

Why not to start with easy things:
arr.Sort(int_col);

P.S. Sorry for the delay - I didn't want you to die so soon..

[Updated on: Wed, 05 April 2006 03:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl crashes with "embedded" Ctrls referenced by Id [SOLVED]
Next Topic: ArrayCtrl - how to set tooltips? [BY DERIVING...]
Goto Forum:
  


Current Time: Fri Jul 18 03:31:30 CEST 2025

Total time taken to generate the page: 0.04522 seconds