listview selected item

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I can't seem to get howto find the index of the selected item in a listview
(View.Details)....

Thanks in advance,
steve
 
I can't seem to get howto find the index of the selected item in a
listview
(View.Details)....

Try

Dim item1 As ListViewItem = listView1.Items( e.Index )
 
* "Steve said:
I can't seem to get howto find the index of the selected item in a listview
(View.Details)....

Have a look at the control's 'SelectedIndices' property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top