sobCustom

The place for threads about TimoSoft ExplorerListView.
Post Reply
sol
Cadet
Posts: 4
Joined: 10 Dec 2013, 14:10

sobCustom

Post by sol »

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
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: sobCustom

Post by TiKu »

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!
Post Reply