Results 1 to 3 of 3

Thread: Clearing a Listview

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    35

    Clearing a Listview

    So i have some data inside a Listview which i can see perfectly fine.
    Now, i want to clear the listview so that no data is shown, only the columns.

    What should i do?

    I thought of using for each item in listview but i dont know how that would work and i cannot see any property that could help me.

    Thanks in advance.

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Clearing a Listview

    call the ListView1.ListItems.Clear() method.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    35

    Re: Clearing a Listview

    Thanks! That was a quick reply and it worked perfectly!

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