Skip to main content

TCustomdxPSExplorerItem.CanRename Method

Returns a value indicating end-users can start editing the item’s caption.

Declaration

function CanRename: Boolean; virtual;

Returns

Type
Boolean

Remarks

End-users are allowed to edit folder and report captions within the explorer tree. To start editing the selected item, they should click on it or press the F2 key If the selected item’s CanRename method returns True, the item’s caption is switched to edit mode, otherwise editing doesn’t start.

As implemented in the TCustomdxPSExplorerItem class, the CanRename method returns True if the explorer component allows renaming this item. This takes place if the item is not the root item and it is not loaded at the moment.

See Also