NTreeViewEx - Using mouse to select text during Item Edition


https://www.nevron.com/Forum/Topic7312.aspx
Print Topic | Close Window

By Imanol Yurrebaso - 11 Years Ago
Hi,

After enabling the "EnableItemEdit" property of my NTreeViewEx, selecting an already selected item starts the editing mode. The whole text is selected and you can overwrite it, or use keyboard arrows to move around the text. However, there is no way of using the mouse cursor to select parts of the text, or moving the cursor to a specific position, as clicking the mouse ends the "editing mode" and just selects the node again.

Is there a way to avoid this? It would be quite frustrating for the user if he had to use the arrows-ctrl-shift keys to move through the text everytime he wants to edit an item.

Thank you in advance.

PD: I don't think it's important, but an extra comment: I disabled the EnableItemEdit, and I only enable it again when the user selects a "rename" custom context menu item, then I use the "StartEditItem" method of the NTreeViewEx to allow editing. (My issue still persists with a standard NTreeViewEx, though)
By Nevron Support - 11 Years Ago
Hi Imanol,

Thanks for reporting this bug.
It is already fixed and the fix will be available in the next release.