[Solved] How to assign TShellTreeView.Selected, with its "root" item? lazarus / 21-General ---------------------------------------------------------------------- devEric69 · 2021-03-29 15:42 Hello, I'm looking to create a form with a TShellTreeView. I've assigned its root property with a correct directory path, say sFullpathDirname1 := '/home'. This works. Now, I would like the first item-root of this TShellTreeView object, which is '/home' displayed, to be "illuminated" i.e. being the selected TNode. How can I do this? ---------------------------------------------------------------------- wp · 2021-03-29 15:54 Use standard treeview commands to select a node Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   ShellTreeView1.Selected := ShellTreeView1.Items.GetFirstNode; ---------------------------------------------------------------------- devEric69 · 2021-03-29 16:08 It works very well. Thank you very much!