Results 1 to 3 of 3

Thread: Selected item of treeview???

  1. #1

    Thread Starter
    Addicted Member mandark's Avatar
    Join Date
    Oct 2002
    Posts
    188

    Question Selected item of treeview???

    Hi,

    How do I find which item of the the treeview is selected???

    Thanx.

  2. #2
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159
    Hi,

    You can use: -

    for x = 0 to Treeview1.nodes.count - 1
    if treeview1.nodes(x).selected = true then
    end if
    next x

    or you can use the "NodeClick" method and set a global variable?

    Just a couple of thoughts...

    DJ

  3. #3
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    TreeView1.SelectedItem works quicker.
    Please rate my post.

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