Thanks Cor,
It works when the tab leaves listview control. Suppose I
load some data into listview, and want to hilight 3rd row,
how can I do so without interrupting it?
To set the full row in the load event of the form
listview1.FullRowSelect = True
To select a row 3
listview1.Items(2).Selected = True
But if you use the selectedindex change event you have to prevent that from
firing with a flag/bool/switch or whatever you call it. ( I do not use that
with a listview)
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.