Name
Treeview.AbortEditing -- get notified when user cancels editing (V1.1)
Function
When setting up a notification on this attribute, RapaGUI will run your event callback whenever the user cancels an editing operation on an item, for example by pressing the escape key or clicking outside the item edit widget.

Note that you have to set Treeviewcolumn.Editable to True if leaves in the respective column shall be editable. To make nodes editable you have to set Treeview.EditableNodes to True.

Your event handler will be called with the following extra arguments:

Item:
ID of the node or leaf that the user was editing when he cancelled the operation.

Column:
Column index of the item the user was editing when he cancelled the operation. For nodes this is always 0.

See Notifications for details.

Type
Boolean

Applicability
N


Show TOC