Results 1 to 6 of 6

Thread: treeview

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    3

    treeview

    Hello,

    I have a question that I can't seem to find the answer to.

    I have a treeview that will look something like this.

    1
    ---1.5
    2
    ---2.4
    ---....
    3
    ---....

    what I want to do is add a node of 1.6 to the treeview when I click a button then when I click another one add the node of 1.6.2 under 1.6.

    Thanks.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Is this what you mean !
    Attached Files Attached Files

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    3
    That is close to what I need. Instead of adding data to the selected node i need to add it to a specific place.

    Any ideas?

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by stimey
    That is close to what I need. Instead of adding data to the selected node i need to add it to a specific place.

    Any ideas?
    this must be the way you want it to work!
    Attached Files Attached Files

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    either you write the index in the textbox or you can fix the index number of the new treenode from the code.

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    3
    I think that will do it.

    Thanks

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