J
Jan Driesen
Hello,
In Vb6, sorting a column of a listview is like this:
Private Sub ListView1_ColumnClick(ByVal ColumnHeader As
ComctlLib.ColumnHeader)
Me.ListView1.SortKey = ColumnHeader.Index - 1
If Me.ListView1.SortOrder = 0 Then
Me.ListView1.SortOrder = 1
Else
Me.ListView1.SortOrder = 0
End If
Me.ListView1.Sorted = True
End Sub
How do I manage this in vb.net ?
Thanks,
Jan Driesen
In Vb6, sorting a column of a listview is like this:
Private Sub ListView1_ColumnClick(ByVal ColumnHeader As
ComctlLib.ColumnHeader)
Me.ListView1.SortKey = ColumnHeader.Index - 1
If Me.ListView1.SortOrder = 0 Then
Me.ListView1.SortOrder = 1
Else
Me.ListView1.SortOrder = 0
End If
Me.ListView1.Sorted = True
End Sub
How do I manage this in vb.net ?
Thanks,
Jan Driesen