CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2000
    Posts
    5

    listview Control

    How do you delete a record from a listview control in the double click event??

    Thanks in advance


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: listview Control

    Try this


    ListView1.ListItems.Remove ListView1.SelectedItem.Key




    that is assuming you supplied a key whan you populated the listview

    John G

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

Featured