F
Felix
Hi,
I'm having difficulty with the treeview control in vb.net.
The following is my code:
Dim somenode As TreeNode
somenode = treeCheck.SelectedNode
treeCheck.SelectedNode = somenode.prevnode
Basically i just want the node before the selected node to be selected but
for some reason VB.net isn't recognizing Prevnode as a property in the
TreeNode Class. Even though the docs say it is.
"PrevNode - TreeNode - Read-only. The previous sibling node in the parent
node's Nodes collection. If there is no previous node, returns
null/Nothing."
somenode is a TreeNode so it should have PrevNode, but it doesn't. Anyone
have any ideas?
Thank you,
Felix
I'm having difficulty with the treeview control in vb.net.
The following is my code:
Dim somenode As TreeNode
somenode = treeCheck.SelectedNode
treeCheck.SelectedNode = somenode.prevnode
Basically i just want the node before the selected node to be selected but
for some reason VB.net isn't recognizing Prevnode as a property in the
TreeNode Class. Even though the docs say it is.
"PrevNode - TreeNode - Read-only. The previous sibling node in the parent
node's Nodes collection. If there is no previous node, returns
null/Nothing."
somenode is a TreeNode so it should have PrevNode, but it doesn't. Anyone
have any ideas?
Thank you,
Felix