Page 1 of 1

Locking node text?

Posted: Thu Feb 24, 2011 4:34 am
by r_houdek
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

Re: Locking node text?

Posted: Thu Feb 24, 2011 11:01 am
by wilstrand
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