Skip to main content

TcxCustomShellTreeView.OnEdited Event

Enables you to override end-user changes to shell item captions.

Declaration

property OnEdited: TTVEditedEvent read; write;

Remarks

This event occurs after an end-user has finished editing a shell node’s text.

Sender specifies the shell tree view that raised the event.

Node specifies the tree node that corresponds to the shell item whose caption has been edited.

S specifies the new item caption (node text). You can pass your caption via this parameter to override the user input.

You can prohibit end-users from renaming an item via the ReadOnly property. To dynamically prohibit caption editing for specific shell items, handle the OnEditing event.

See Also