Hi,
As far as I understand this only gives me the oportunity to sort och the first column of the ListView.
Even if I pass another column as: SortItems sobCustom, , , , , col
In my _CompareItems i Always get the first column.
Is there a workaround so I can sort any column with sobCustom?
BR,
Sol
sobCustom
Re: sobCustom
Well, the CompareItems event provides two items with all their sub-items. Just use firstItem.SubItems(x) to get the x-th sub-item of the first of both items. This way you can even compare the 2nd sub-item of the first item with the 4th sub-item of the second item.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!