Link to home
Start Free TrialLog in
Avatar of hess
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
Avatar of ameba
ameba
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hess
hess

ASKER

i can see how taht would work ajnd i'll concider it, but i really would like pure multiselect.
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.
Avatar of hess

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!!!
Avatar of hess

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.
Avatar of hess

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.
Avatar of hess

ASKER

sorry... they need to colapse
sorry, this is not supported by control.
Avatar of hess

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