Results 1 to 3 of 3

Thread: Delete current row on Listview

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Delete current row on Listview

    just asking on how to delete the current row in a Listview? kindly help me what the right code please?

  2. #2
    Hyperactive Member
    Join Date
    Mar 2004
    Location
    Prato - Tuscany - Italy
    Posts
    461
    Live long and prosper (Mr. Spock)

  3. #3
    Hyperactive Member CyberHawke's Avatar
    Join Date
    May 2004
    Location
    Washington DC
    Posts
    477
    Actually, this question has been asked in several threads, and tho I don't know the threadID's to any of them, the one that was offered doesn't really do a good job of answering the question.

    This line of code will do the trick:

    VB Code:
    1. Me.ListView1.Items.Remove(Me.ListView1.SelectedItems(0))

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