Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
For some reason I cannot get a TreeNode to become visible. The code looks like this:
' Find a node based on key
dim aNode as TreeNode = me.tvwAny.Find(key,false)(0)
' Make the node visible, but it doesn't when I do it
aNode.EnsureVisible()
' This theortically will also make it visible
me.tvwAny.SelectedNode = aNode
So, is there some property on the treeview that I must set for this to work? Am I doing something wrong?
I appreciate any help offered!
Greg
|