[SOLVED] Treeview rootnode image lazarus / 31-LCL ---------------------------------------------------------------------- pcurtis · 2022-04-18 14:16 Why does the image of the rootnode vanish when the node is  selected? ---------------------------------------------------------------------- dsiders · 2022-04-18 14:39 Quote from: pcurtis on April 18, 2022, 04:16:28 pmWhy does the image of the rootnode vanish when the node is  selected? If you're referring to the expand/collapse indicator, it does not disappear when selected using Windows 8.1. Must be another "improvement" made to Windows 10. Do you have themed drawing enabled in the Options property? Does changing it have any effect? ---------------------------------------------------------------------- pcurtis · 2022-04-18 14:49 Not the icon but the image assigned by imageindex / imagelist Themed draw has no effect ---------------------------------------------------------------------- dsiders · 2022-04-18 15:25 Quote from: pcurtis on April 18, 2022, 04:49:19 pmNot the icon but the image assigned by imageindex / imagelist Just checked. Works as expected (on Win 8.1) if the tree view item has Image, Selected, and optional State image indexes assigned. Project attached. ---------------------------------------------------------------------- pcurtis · 2022-04-18 15:46 Thanks. Solved it. Forgot to set selectedimdex