OnDelete property
|
dcShellProperties component.
|
type
|
TdcContextMenuEvent = procedure(Sender: TObject; FileName: String) of object;
|
|
property OnDelete: TdcContextMenuEvent;
|
The OnDelete property occurs when user clicks "Delete" item in the context menu for the shell object. The FileName parameter determines the file name which should be renamed.
|
|
To disallow deleting of the shell objects from context menu - set moAllowDelete flag of the MenuOptions property to False.
|
OnRename event.
|