TreeView Scroll Position Get and Set on VB.Net Windows Forms

I used a treeview with scrollable property true. Firstly I generated the treeview. Then I selected a treenode as :
dim node as TreeNode
After that I refresh the treeview in a structured way. Expanded node as expanded and Collapsed as collapsed.
Then I need to keep that selected node in the visible zone, so I used :
Still the node is not is not in the visible zone as the vertical Scroll Bar goes at the top of the treeview.
Please help how I can maintain the vertical Scroll Bar position?

Thanks in Advance.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!