Listview item activation programatically?

D

Dennis S.

Is it possible to activate a ListView item programatically or, in any other
way, to cause the ItemActivate event from within one's program?

Thanks for any help you might offer.
 
C

codymanix

myListView.Items[0].Selected=true;

And dont forget to unselect the last selected item.
 

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

Top