Treeview control

G

Guest

I'm using a Treeview control for the first time. I found some code to load
the control. It works but all it does is load the control. One problem is
that it does not display the '+' for any root node that has children. It does
do it for lower level nodes. Any idea how to fix this? Also, where can I find
out how to add and delete nodes? I tried using the nodeclick event but as
soon as I coded that event, the tree ceased to function completely i.e. would
only display the root nodes and refuse to expand further.
 
G

Guest

Recommend you Google on Access and treeview.

You should get a bunch of URLs with explanations on how to perform various
treeview tasks.
 
G

Guest

I already did that, that's how I found the code to load the control. However,
nothing I've so far found shows how to get the '+' on the root level nodes or
how to implement adding and deleting nodes.
 
R

Rob Parker

A couple of things which might be helpful:

Root level nodes will display a "+" symbol only if there are child nodes on
that node; they will never display a "-" symbol because they cannot be
collapsed.

The best example I've seen which illustrates the MS treeview control and its
capabilities is on Alex Dybenko's site. Have a look at
http://www.pointltd.com/Downloads/Details.asp?dlID=36

The most comprehensive documentation I've found on the treeview control is
on the MSDN Site. As a start, this gives the results of a search for
"treeview" on that site:
http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=treeview
You should find something helpful there.

HTH,

Rob
 

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

Top