anyone know how to highlight a particular node?
Printable View
anyone know how to highlight a particular node?
If you know the index of the particular node, you could use this to select the node.
Alternatively, if you have referenced the node, you could use this to select the node.Code:Treeview1.Nodes(indexvalue).Selected = True
Hope this helps.Code:Set nodX = TreeView1.Nodes.Add("Parent",tvwChild,,"Child")
nodX.Selected = True
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!