ShellBrowser Delphi Components Documentation
|
The following example will prevent a drag and drop operation, if the objects were dropped on the background of a JamFileList:
procedure TMainForm.FileListBeforeShellDrop(sender, DropTarget: TObject; DroppedFiles: TFilenames; var ExecuteDrop: Boolean); begin if DropTarget is JamFileList then ExecuteDrop := False; end;