Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / February 2007

Tip: Looking for answers? Try searching our database.

Treeview control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mscertified - 15 Feb 2007 16:36 GMT
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.
Dale Fye - 15 Feb 2007 18:01 GMT
Recommend you Google on Access and treeview.

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

Email address is not valid.
Please reply to newsgroup only.

> 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
[quoted text clipped - 3 lines]
> 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.
mscertified - 15 Feb 2007 19:33 GMT
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.


> Recommend you Google on Access and treeview.
>
[quoted text clipped - 8 lines]
> > 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.
Rob Parker - 16 Feb 2007 03:30 GMT
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

>I already did that, that's how I found the code to load the control.
>However,
[quoted text clipped - 21 lines]
>> > would
>> > only display the root nodes and refuse to expand further.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.