How to sort TListView columns in report mode lazarus / 31-LCL ---------------------------------------------------------------------- MISV · 2017-12-12 00:02 Hi, I know CustomSort will be added after 1.8.0 = great news. However - until then - I would be happy with a simpler sort. However, using a combo of - TListView(Sender).SortColumn - TListView(Sender).SortDirection - TListView(Sender).SortType - TListView(Sender).Sort actually seems to clear content in my test on Mac/Carbon I may be doing it wrong though. I have my own compare handler... But if that can't be called - even a basic sort on each column is better than none! How do you sort TListView items on e.g. 3rd column (i.e. a subitem) when using Lazarus? ---------------------------------------------------------------------- wp · 2017-12-12 00:12 The attached demo works on Windows. ---------------------------------------------------------------------- MISV · 2017-12-12 00:49 TListView(Sender).SortColumn alone = thanks