Results 1 to 2 of 2

Thread: Getting full path from treeview

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    36

    Angry

    OK - I've got a tree set up, I can get the contents of the selected item by "x=treeview.selecteditem" BUT I want to get the name of it's parent aswell!

    HELP!

  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    Try something like:
    x = TreeView1.SelectedItem.Parent.Text
    "It's cold gin time again ..."

    Check out my website here.

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