I can't find any way to find out which column in a listview control was clicked. I must be missing something. Any ideas?
Printable View
I can't find any way to find out which column in a listview control was clicked. I must be missing something. Any ideas?
ListView has ColumnClick event, which has ColumnHeader object which is the column you clicked.
------------------Code:Private Sub ListView1_ColumnClick(ByVal ColumnHeader As ColumnHeader)
MsgBox "You clicked on cloumn " & ColumnHeader.Index
End Sub
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819