Listview item index selected ?

  • Thread starter Thread starter PocketPC
  • Start date Start date
P

PocketPC

Hi,
how can I know the listviewitem index is selected in a listview?

Thanks in advance
 
Check the SelectedIndexCollection exposed by the ListView.SelectedIndices
property.

HTH
Neil
 
for example

Dim JpCustName As String = lstJourney.Items(lstJourney.SelectedIndices(0)).SubItems(3).Text()
 

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