HOWTO: Prevent editing of TTreeNode lazarus / 31-LCL ---------------------------------------------------------------------- Marion · 2021-05-05 20:24 I am using the TTreeView but I don't want users to be able to edit the node text. How do I prevent that? ---------------------------------------------------------------------- wp · 2021-05-05 20:51 There is also a more direct ReadOnly property; it definitely works, I used it many times. In case that you only want to inhibit editing of specific nodes you can hook into the OnEditing event which offers a var parameter "AllowEdit" which you simply must set to false in the event handler for the corresponding node. ---------------------------------------------------------------------- Marion · 2021-05-05 22:33 Thank you all.