Tree View in VB 6

Posted on 2009-04-28
Last Modified: 2013-11-26
I need to know about Tree View in VB6. I dont know much about this.
So Please help me to let me know about Tree View,how to populate nodes, how to add Graphical symbol on these nodes,how to create child nodes.
and also i need to add information to each node which should get displayed on the right side of the form as we click the node.
Needs Help
With Regards
Question by:Showkatdar
    LVL 48

    Accepted Solution

    LVL 10

    Assisted Solution


    Author Comment

    Dear jpaulino
    I have already checked the link u specified. I need to placed Images with Nodes and also a detailed information should get displayed on right side of the form
    With Regards
    LVL 10

    Expert Comment

    One thing I have done is add delimited TEXT to the node (and when clicked , I pull and parse the TEXT and display it off to the side). This is a way to keep detailed info with the node.
    LVL 48

    Expert Comment

    In the treeview node method you can define the text and the image (normal and selected).
    TreeView1.Nodes.Add(relative, relationship, key, text, image, selectedimage)
    You just need to add an imagelist and include the images you want and then you define the index number. You also need to define what imagelist for treeview .

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now