Thank very much Tobias, for the valuable advice. Because I know what I'm adding it simply worked to apply your recommended approach immediately after adding the new node without the loop or the condition:
trvLog.Add(trvLog.Count, logtext) trvLog.Item.EnsureVisible And also the caveat about the TreeView is timely...I'll find a different approach. cheers. -- View this message in context: http://gambas.8142.n7.nabble.com/Automatically-scroll-to-end-of-treeview-tp58666p58669.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user