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()
 
Back
Top