Skip to main content

TCustomdxPSExplorerItem.Delete Method

Deletes the item.

Declaration

procedure Delete; virtual;

Remarks

The delete method is called automatically when end-users attempt to delete the selected item. They can do this by pressing the DELETE key or by choosing the Delete… item from the item’s context menu. Before an item is actually deleted, the explorer invokes a confirmation box displaying the message returned by the DeleteMessageText method.

Note that the explorer calls the CanDelete method before deleting an item using the Delete method. You can also call the Delete method manually, in this case, the CanDelete method is not invoked.

See Also