list box “column” can “sort” when we click it…
I just dont want to sort any item… any ideas.? thanks
Me.HeaderType(-1)=ListBox.HeaderTypes.NotSortable
thanks~~ solve it
also in the sortcolumn event of the listbox:
[code]Function SortColumn(column As Integer) Handles SortColumn as Boolean
me.SortedColumn = -1
me.HeadingIndex = -1
Return True
End Function
[/code]
set these properties so that the clicked column doesnt get blue.
thanks it solved.