Results 1 to 2 of 2

Thread: TreeView Help

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    Gold Coast
    Posts
    1

    Unhappy TreeView Help

    Hi All,

    I really need some help here. See, I have got a very cool Tree View going and I'm using Check Box's. But, there's one more thing I need to do to it to make it complete! And that is, so that when you click the "Apply" button, that it goes through every node one by one and to see if the check box is ticked or unticked, and, if it is ticked, to write the key (Text) that it has on it to a text file.

    Please please Please! Can anybody help me out here? I think I'm on the right track using Node.Root.Children to form a loop, but, there could be a problem there as there is only more information added on the Expand Event.

    Any suggestions and opinions is most welcome and appreciated!
    Jester.
    To Deny Our Own Impulse's, Is to Deny the Very Thing That Makes Us Human.

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    something like
    VB Code:
    1. dim i as long
    2.  
    3. for i =1 to treeview1.nodes.count
    4.     debug.print treeview1.nodes(i).text
    5. next i

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