On Wednesday 22 February 2006 21:14, Marc Weustink wrote:
> A.J. Venter wrote:
> > Hi,
> > It seems that the lazarus tlistview's do not implement the customsort
> > method - not even as a virtual, the result is that all the tutorials I
> > could find on how to sort a tlistview by a columnclick do not work with
> > lazarus since they all rely on tcustomsort (and I presume OnCompare).
> >
> > Is this a TODO ? Or is there a different way to do this in Lazarus ?
>
> This is a todo. I tried to implement sorting, read about it on how to do
> it on gtk and found that it differs much from win32. So I tried to find
> a nice way were both would fit in a VCL compatible way. And then I had
> other business or so.
>
Okay then, so basically right now the only way would be to clear, create a
sorted list and refill ?
I suppose that can work as a temporary measure since sorting in my app is
actually quite critical, unless somebody has a better idea.
(This is for OpenBook - to allow people to sort search results by a field of
their choice - obviously it would hugely improve the overall usability).
Ciao
A.J.
--
A.J. Venter
Chief Software Architect
OpenLab International
www.getopenlab.com
www.silentcoder.co.za
+27 82 726 5103
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives