|
-
Aug 21st, 2000, 08:51 AM
#1
Thread Starter
New Member
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?
-
Aug 21st, 2000, 09:35 AM
#2
Lively Member
i think you can do it by setting the listitem's check or selected property to true....
YC Sim
Teenage Programmer
UIN 37903254
-
Aug 21st, 2000, 09:55 AM
#3
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|