TcxCustomShellListView.OnEditing Event
Enables you to prohibit end-users from editing specific shell item captions.
Declaration
property OnEditing: TLVEditingEvent read; write;
Remarks
This event occurs before in-place caption editing is initiated for the selected list item.
Sender specifies the shell list view that raised the event.
Item specifies the list item that corresponds to the shell list item whose caption is to be edited. Normally, Item is the currently selected list item.
Pass False as the AllowEdit parameter to cancel editing, prohibiting end-users from renaming the Item.
You can prohibit end-users from renaming all item captions via the ReadOnly property. To override end-user changes to shell item captions, handle the OnEdited event.
Note
Generally, only the shell items marked with the corresponding Capabilities flag can be renamed.
See Also