Results 1 to 3 of 3

Thread: checking check boxes in listviews

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    1
    the program I am writing has a number of lists. Depending on the node clicked on a treeview, a certain list is displayed in a listview. I have managed to get check boxes inside a listview. If a user clicks on another node in the tree, I wish to save info on which check boxes they checked in the current list. If they then show this list again, I wish to have the same check boxes checked as when they left. Any ideas?

  2. #2
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    i think you can do it by setting the listitem's check or selected property to true....
    YC Sim
    Teenage Programmer
    UIN 37903254



  3. #3
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Right i am not sure if this is possible, but it is an idea.

    You have a Treeview with multiple nodes right. For each node, you have a list that you show. Now each list has a set of listitems.

    So for a list, you need a collection that stores which items have been checked.

    but you have more than one list, so you need a collection of this collection. This outer collection is a collection of node keys that each hold the collection of listkeys.

    So if you are not confused by the logic of that, give it a go.
    Iain, thats with an i by the way!

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