Samir TreeItems are not editable. Are you sure of that ? To make a TreeItem editable, you need to call TreeItem:edit() method to enter the TreeItem in edit mode.
Samir Maybe you have a Tree:onDoubleClick() event that calls the edit() method ? What is your Windows version ?
esferatec I just tried the example ([Login to see the link]) from the tree constructor documentation. I cannot edit a tree item there. I am using Windows 11 and LuaRT 1.7.1 x64. When I use the example from the Treeitem edit ([Login to see the link]), I can edit any item.
steve64 I'm using Windows 10 and LuaRT 1.7.1 x64. To be more precise, the nodes became editable when you single -click again on a node that is already selected, you need a small delay between selecting and clicking again. This can be reproduced for instance with the simple example in the documentation: [Login to see the link]
Samir I was able to reproduce this. It will be fixed in next LuaRT release with a new Tree.readonly property, set to false by default.