benst benst - 5 months ago 23
Vb.net Question

Make row in listview clickable/selectable vb.net

I have a listview with four columns. I would like the entire row to be selected if someone clicks on one of the elements in the row. Does anyone know how to do this?

Thanks

Answer

You probably only need this:

ListView1.FullRowSelect = True