0

how can i select a particular child node
for example when i click on a node it is selected
so that
if selected node= TreeView1.Nodes(0).Nodes(1).Nodes(4) then

messagebox.show("node selected")
end if

2
Contributors
1
Reply
6
Views
3 Years
Discussion Span
Last Post by Reverend Jim
0

You get the selected node through

TreeView1.SelectedNode

You can select a specific node in code by

TreeView1.SelectedNode = TreeView1.Nodes(0).Nodes(4)

Edited by Reverend Jim

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.