• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 752
  • Last Modified:

Always select last Item in TreeView control (auto-scroll)

Hi, how can i realize a auto-scroll function with the treeview control in vb6? the program adds entries constantly to the treeview and i want it to autoscroll to the bottom, is there any possibilitie?

thank you!
-beda
0
beda79
Asked:
beda79
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you could, when you add an item at the end, use the   node's .EnsureVisible method to ensure it is visible (scroll to it)
0
 
beda79Author Commented:
worked great, stupid me....
thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now