|
-
Jul 5th, 2002, 01:53 AM
#1
ListView.ItemClick, where are you?
I have to figure out if the user has clicked on an item when ListView_Click is fired....
SelectedIndexChanged is not gunno work for me, becase if the user clicks on an item that is already selected, it's not gunno fire....
There is not HitTest function or anything I guess, what can I do?
-
Jul 5th, 2002, 07:32 AM
#2
Hyperactive Member
i hope i understood your question the right way.
you could loop through all items and check if one is selected:
VB Code:
Dim item As ListViewItem
For Each item In Me.listview1.Items
If item.Selected Then
'code
End If
Next
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|