Selecting A List View Item RRS feed

  • Question

  • I have the hitch selecting a list view item. I want a user data entry form to dispaly when a user double clicks a listview item.
    Wednesday, June 29, 2005 3:48 PM


  • Prospery -

    You should be able to hook up the MouseDoubleClick event on the ListView by goin to the Property Pane and selecting the small lightning bolt to look at the available events.  Then double-click beside MouseDoubleClick to generate the code for the event handler and go directly to it.  You can then use listView1.SelectedItems to get the set of selected items, which will give you the item that was double-clicked.

    Luke Hoban
    Visual C# IDE Program Manager
    Wednesday, August 3, 2005 4:59 PM