Results 1 to 3 of 3

Thread: [RESOLVED] listview remove items

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2010
    Posts
    1,535

    Resolved [RESOLVED] listview remove items

    Hi,

    Form1.ListView1.ListItems.Remove (index)

    I presume 'index' applies a single row. What if you want to remove all items and also don't know how many there are ?
    (Or would that always be Form1.ListView1.ListItems.Count ) ?

    Thanks, ABB

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: listview remove items

    Code:
    Form1.ListView1.ListItems.Clear
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2010
    Posts
    1,535

    Re: listview remove items

    Aah.... so simple when you know!

    Thanks, ABB

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