Results 1 to 3 of 3

Thread: listview ?

  1. #1

    Thread Starter
    Addicted Member jestes's Avatar
    Join Date
    Jan 2001
    Location
    Dallas
    Posts
    248
    is there any way to get the value of the list item being clicked? I need to send the value to a textbox for editing... help?

  2. #2
    Lively Member
    Join Date
    Mar 2001
    Location
    Brighton, England
    Posts
    112
    I think you want to use 'SelectedItem' property to get the value

  3. #3
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    That's good for single clicks only. If you want to have an item resond to a double click, you'll need to use the HitTest method. It returns an item based on the (x, y) coordinats of the mouse. To get these, set a couple of variable in the MouseDown event and call the HitTest method from the DoubleClick event with the variables.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width