Treeview Multiselect

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.

Is it possible to use Multi-select in a Treeview control? I am working on
the Drag and Drop functionality and want to be able to move groups of items
between nodes....

Cheers,
Steve.
 
OK. I think check boxes is the way to go then (although I am quite skilled,
i think simulating the multiselect will be a major task. e.g. Holding Ctrl or
Shift)

Can checkboxes be added to certain nodes or is it global across the treeview?

Cheers,
Steve.
 
Im not getting anywhere fast with this one!

Can anyone enlighten me on how I would go about dragging only checked nodes
into a new node?

I could also do with the code on enumerating the Children attached to a node
using code....

Cheers,
Steve.
 
Hi,
I think you can do this the same way, as when you D&D one node, but at the
end of drop event - you have to go through all checked nodes and move them
also to a new parent. I only afraid that this can confuse user, unless you
give him clear explanation somewhere

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
 
Is it possible to use Multi-select in a Treeview control? I am working
on the Drag and Drop functionality and want to be able to move groups
of items between nodes....

While the standard Treeview does not support true Multi-select,
if you are open to 3rd party commercial components take a look
at our TList control ( www.Bennet-Tec.com/btProducts/TList/TList.htm)
This can be used within Access ( see compatibility page of web site )
and will allow true multiple selection ( just set the Multi-Select property),
plus automatic Drag / Drop support ( Just set the AutoDragMode property).

I hope this is helpful to you.

* * Please include a copy of this message with your reply

Jeff Bennett
(e-mail address removed)

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top