Selecting Tree View Nodes
Hi all,
How to select a particular tree view child node?i want to expand all the parent nodes to the child nodes in selection.
Thanks,
Rejeev
[164 byte] By [
rejeev] at [2007-11-20 0:40:52]

# 1 Re: Selecting Tree View Nodes
How you find the particular node may vary, but you can use the ENSUREVISIBLE method to expand all parent nodes.
Dim tvNode As TreeNode()
tvNode = TreeView1.Nodes.Find("Node7", True)
If tvNode.Length > 0 Then
tvNode(0).EnsureVisible()
End If