Listview selected item

  • Thread starter Thread starter Tiago Salgado
  • Start date Start date
T

Tiago Salgado

I everyone... I've got a listview (details) ... and i'm trying to unselect
any item selected...

In a combobox, e.g, i can put this:

ComboBox1.SelectedIndex = -1

I want to do this but in a listview control... can anyone help me?

Thanks
 
I've already made it... lol ... i use this code:

listview1.selectedindices.Clear()
 
hi,

Try the following option

listview1.items.item(index).selected = false

where index is the item that you want to deselect.pls reply me whether
it works or not.

Thanks,
Ganesh
 
In my last post, i indicate the solution that i've used...

Thanks

hi,

Try the following option

listview1.items.item(index).selected = false

where index is the item that you want to deselect.pls reply me whether
it works or not.

Thanks,
Ganesh
 
Back
Top