TreeNode question - EnsureVisible


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search