Results 1 to 3 of 3

Thread: Tree View

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    UK
    Posts
    36

    Unhappy

    anyone know how to highlight a particular node?

  2. #2
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112
    If you know the index of the particular node, you could use this to select the node.

    Code:
    Treeview1.Nodes(indexvalue).Selected = True
    Alternatively, if you have referenced the node, you could use this to select the node.

    Code:
    Set nodX = TreeView1.Nodes.Add("Parent",tvwChild,,"Child")
    nodX.Selected = True
    Hope this helps.


  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    UK
    Posts
    36

    Unhappy Thanks...but...

    That doesnt seem to highlight the particular node, it definitly finds it as you can expand it as a test and it expands but I cannot seem to actually highlight it as you do when you click a node!

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