I'm wondering if there's a simple way to lock the node text. I've tried using the "locktext" property on the field but as soon as I double-click a node it reverts back to editable.
Is there a property that can be set at the tree or node level? Or do I have to try an intercept the message and handle it that way?
Thanks so much!
Ritch
Locking node text?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Locking node text?
Hi Ritch,
To lock the Node text you can set the editNodeOnDoubleClick Tree property to false. You have to create the editNodeOnDoubleClick property yourself as I have (thanks to you!) discovered a bug resulting in that this property is not created automatically at startup. The editNodeOnDoubleClick property is also missing in the documentation!
Thanks for pointing this out! The auto creation and documentation of the editNodeOnDoubleClick property will be fixed in v.1.2 wich will be available as a free update for existing customers at http://www.tapirsoft.com at the end of this week.
Kind regards
Mats
To lock the Node text you can set the editNodeOnDoubleClick Tree property to false. You have to create the editNodeOnDoubleClick property yourself as I have (thanks to you!) discovered a bug resulting in that this property is not created automatically at startup. The editNodeOnDoubleClick property is also missing in the documentation!
Thanks for pointing this out! The auto creation and documentation of the editNodeOnDoubleClick property will be fixed in v.1.2 wich will be available as a free update for existing customers at http://www.tapirsoft.com at the end of this week.
Kind regards
Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects