Results 1 to 4 of 4

Thread: TreeView - 2 Questions

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225

    Question

    Hiyas,

    I have two questions about TreeViews.

    Firstly, how do I make the background transparent?

    Secondly, how do I add one 'tvwChild' to another 'tvwChild', to make the tree 3 levels deep?

    Thanks,

    -Git

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    Ok, I figured it out, but now I've got another problem.

    I have 3 levels of the tree, the first level which contains 5 sub levels. I want to add nodes to different sub levels, but at the moment it's adding about 20 nodes to one sub level. Where's the variable which indentify's which sub level it goes in ?

    Thanks,

    -Git

  3. #3
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    The first two paramters in your Nodes.Add determine the level. Use a number 1-5 as the first parm and the constant tvwChild as your 2nd parm

  4. #4
    Junior Member
    Join Date
    Mar 2000
    Posts
    28
    You can use the key of the node you want to add it under as the forst param.

    Treeview1.Nodes.Add "KeyOfParent", tvwChild....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width