I have a treeview box on a form which records log entries.
Is it posible to keep the scrollbar focused at the bottom of the list, so that the latest entries can be seen immediately?
Many thanks.
Printable View
I have a treeview box on a form which records log entries.
Is it posible to keep the scrollbar focused at the bottom of the list, so that the latest entries can be seen immediately?
Many thanks.
Try this:
Good luck!Code:With TreeView1
.Nodes(.Nodes.Count).EnsureVisible = True
End With