shellproperties OnDelete property
Return to Introduction  Previous page  Next page
Applies to
dcShellProperties component.  

Declaration
type  
  TdcContextMenuEvent = procedure(Sender: TObject; FileName: Stringof object;  
 
property OnDelete: TdcContextMenuEvent;  

Description
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.  
 
tip To disallow deleting of the shell objects from context menu - set moAllowDelete flag of the MenuOptions property to False.  

See also
OnRename event.