hess
asked on
Mutli Select
How can i have a tree view support multi select and then have a loop that runs through each selected item...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I do not believe the TreeView control supports the MultiSelect property. I might suggest looking at ameba's code and possible creating your own 'custom' TreeView control that would support MultiSelect.
ASKER
sounds difficlut...
If you are interested in custom controls here is a good site: http://www.vbaccelerator.com/. Do a search on TreeView. You will get a cool TreeView control with all of the code to boot! I have modified this control and added some functionality that I needed, you could do the same thing. If you do remember to rename the control!!!
ASKER
ok... thankyou... i actually checked there... been there before.. i theirs doesn't appear to suport multi select. anyways. thankyou. i'm going to go with the check boxes for now.
ASKER
i guess i'll leave this question up to see if i find a real way to multi select.
If you don't need collapsing/expanding of nodes, i.e. if all nodes are always open, you can have UI you want - it's called indented listview.
ASKER
sorry... they need to colapse
sorry, this is not supported by control.
ASKER
I ended up just playing with the back color property of the nodes but i started with check boxes and they worked for a time... now i just faked multi select... thankyou
¤ Thanks
ASKER