Results 1 to 7 of 7

Thread: node list

  1. #1

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    node list

    how do i add children to nodes in a tree view

  2. #2
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    468

  3. #3

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    Re: node list

    how do i get the index of the node child?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: node list

    VB Code:
    1. Private Sub Treeview1_NodeClick(ByVal Node As MSComctlLib.Node)
    2. Msgbox Node.Index
    3. End Sub

  5. #5

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    Re: node list

    off the node CHILD

    i mean the index of the children off the parent node

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: node list

    If you click the parent, you won't see a message box. If you click the node, you will see the index displayed. I tested that on one of the treeviews in one of my projects.

  7. #7

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    Re: node list

    yes the parent counts

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