|
-
Jul 26th, 2002, 03:14 PM
#1
Thread Starter
Addicted Member
Listview Selected Item
How do I get the index of the currently selected Item in a vb.net listview?
-
Jul 26th, 2002, 03:52 PM
#2
Member
As long as only one item is selected then
ListView1.SelectedItems(0).Index
will give you the one that is selected. If there are more than one selected then ListView1.SelectedItems(0).Index will give you the first one, ListView1.SelectedItems(1).Index will give you the second one and so on.
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
|