ListView Item

  • Thread starter Thread starter luisrob9
  • Start date Start date
L

luisrob9

Hi, i need some help, i am looking for a method or example for get the
string name of one item in a listView when i do clic in it... Thanks...
 
(e-mail address removed) wrote in @p77g2000hsh.googlegroups.com:
Hi, i need some help, i am looking for a method or example for get the
string name of one item in a listView when i do clic in it... Thanks...

MessageBox.Show(listView1.GetItemAt(listView1.PointToClient
(Cursor.Position).X, listView1.PointToClient(Cursor.Position).Y).Text);
 

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