|
|
Treeview control
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.
|
|
0
|
|
|
|
Reply
|
Utf
|
2/15/2007 4:36:00 PM |
|
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
"mscertified" <rupert@tigerlily.com> wrote in message
news:7F8088D5-D1DE-4C60-838E-E56E15221153@microsoft.com...
>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.
>
>
> "Dale Fye" wrote:
>
>> Recommend you Google on Access and treeview.
>>
>> You should get a bunch of URLs with explanations on how to perform
>> various
>> treeview tasks.
>> --
>> Email address is not valid.
>> Please reply to newsgroup only.
>>
>>
>> "mscertified" wrote:
>>
>> > 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.
|
|
0
|
|
|
|
Reply
|
Rob
|
2/16/2007 3:30:35 AM
|
|
|
1 Replies
267 Views
(page loaded in 0.024 seconds)
Similiar Articles: TreeView Control - microsoft.public.access.formscodingI need to build a treeview control if I can for use in Access. I want to copy/emulate the Microsoft Code Librarian and apply the "look" to something ... TreeView control OCX - microsoft.public.accessDear All Windows XP Pro Access 2003 Pro SP3 I am looking for an OCX that can I use in a Form, where I can expand - Collapse, use icons and enter des... Treeview control questions - microsoft.public.access.forms ...(Using Access 2007, Vista, Treeview Control V6) It has been years since I had to write treeview code - so I feel like it's 1998 all over again! Her... Checkbox in Treeview control - microsoft.public.excel.programming ...Is there any way to show a checkbox at the child level of a treeview control? Thanks in advance, ... Is there a native access version of the treeview? - microsoft ...I have a need to use the treeview control in a database I'm working on but I do NOT want to deal with the activex registration issues if I can get a... ActiveX TreeView on an Access Form - microsoft.public.access.forms ...I'm tring to use a TreeView control from the windows common controls v6.0 on an access form. I drop the control on the form - no problem. The probl... Switchboard and TreeView - microsoft.public.access.formscoding ...I would like to create a new Switchboard form using the treeview control, and having it point to this table. Basically I want my Switchboard to be in Treeview mode. linking an ImageList to a TreeView crashes with "Invalid ...I have a working treeview 6.0 control, in MSA2K7. Now I want to add icons to it. I have read that I need an imagelist control, but I get conflicting... Mapping Records to multiple fields of a treeview control or ...Hi seems I am unable to provide an appropriate search criteria for my problem.... Can someone help me out of this problem. I am trying to link a list... Treeview drag and drop - how to scroll? - microsoft.public.access ...I have implemented a Treeview control in my Access 2003 form including a drag and drop operation. But I can't page scroll while i'm dragging so i ca... TreeView Control (Windows Forms) - Microsoft Corporation: Software ...The Windows Forms TreeView control displays a hierarchy of nodes, like the way files and folders are displayed in the left pane of the Windows Explorer feature in ... TreeView Class (System.Web.UI.WebControls)Name Description; AccessKey: Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from WebControl.) Adapter Latest Treeview Control ArticlesDiscover an implementation of a tree view, combined with a list view, for the Windows API. The view is compatible with the tree control of the common control. YUI 2: TreeView - Yahoo! Developer NetworkYUI 2: TreeView. The YUI TreeView Control provides a rich, compact visual presentation of hierarchical node data. Support is provided for several common node types ... Excelguru Help Site - Using a Treeview ControlThis is a tutorial on the creation of a simple Treeview control on an Excel userform. For the purposes of this example, we'll be populating the Treeview control with ... 7/25/2012 12:43:55 PM
|
|
|
|
|
|
|
|
|