How to select one row by program in a listview

  • Thread starter Thread starter Peter Stojkovic
  • Start date Start date
P

Peter Stojkovic

I have a listview with four rows.

I want SELECT row 3 at startup by program.

How can I do this ?

Peter
 
listview1.Items.Item(2).Selected = True
Item numbers are 0 based number (0,1,2,3...) so row 3 means index=2.
 

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