ctlUniListView.SortCompareRows EventRaised when the [SortWithCustomEvent] property is True and permits you to sort rows in a custom waySyntax
Public Event SortCompareRows (ByRef vColKey As Variant,
ByVal iRow1 As Long, ByVal iRow2 As Long, ByRef bRetFirstIsGreater As Boolean) Parameters
Remarks
In this sample a ListView control with SortWithCustomEvent property set to True uses the following code for sorting rows using the item tag
'Sorts rows using a custom event verifying item tags |