Status of TListview CustomSort lazarus / 31-LCL ---------------------------------------------------------------------- JD · 2011-11-18 00:29 Hi there everyone, I would like to know the status of the TListview CustomSort in Lazarus. It was not implemented in Lazarus 0.9.31 so I wrote a "quick and dirty" workaround for TListview sorting. The workaround requires knowledge of the number of columns as well as the type of data in the column in advance so it can use a case...end statement to choose sorting style. In another application, I have a user database query interface that allows the user to query multiple tables and return a variable number of columns in whatever order that the user desires. I previously used a KGrid control to display query results but I'm now exploring the use of native Lazarus components starting with the TListView. However, my workaround for listview sorting cannot work in this case because I don't know what a user's query will return in advance. Any hints and advice will be greatly appreciated. I use Lazarus 0.9.31/FPC 2.4.4 svn 31847 on Windows (XP/Vista) and Linux (Ubuntu/Mint). JD ---------------------------------------------------------------------- jbdel · 2011-11-26 16:16 Seems CustomSort is stNone ---------------------------------------------------------------------- zeljko · 2012-02-07 17:35 Maybe related to this http://bugs.freepascal.org/view.php?id=8536