Solved

Multiselect Items in a Treeview

Posted on 2006-07-02
4
328 Views
Last Modified: 2008-03-06
Is it possible to multiselect items in a treeview i.e. drag & drop more than one item at a time ?
0
Comment
Question by:dwood1112
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Raynard7
ID: 17028096
Unfortunatley if you are using the Microsoft treeview control it does not support the ability to support multiple items.  To do so you would either have to use a listview and set the Indent property (which will get you the tree structure, but not the ability to expand/collapse) or one of the third party tree view controls that are on the market.
0
 

Author Comment

by:dwood1112
ID: 17028132
1) Where might I go to see those 3rd party options?

2) Can you point me to an example on the listview Indent?
0
 
LVL 35

Accepted Solution

by:
Raynard7 earned 500 total points
ID: 17028143
http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c629/ gives an example of a third party treeview control - i have never used one so I do not know if any are any good - but they claim they can do what microsoft can not.

http://vbnet.mvps.org/code/comctl/lvitemindent.htm is a good example of indenting a list box
0
 

Author Comment

by:dwood1112
ID: 17028154
Thanks for your help!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question