ImageEn, unit iexFolderMView

TImageEnFolderMView.AutoDragFiles

TImageEnFolderMView.AutoDragFiles


Declaration

property AutoDragFiles : TIEFileDragDropActions;


Description

Whether files can be dragged from the grid to other Windows applications, such as Explorer.

Default: [] (drag drop will not occur automatically)

Value Description
[] Dragging of files is not automatically initiated due to user action
[iedpMove] A user can drag files to another application to move them
[iedpCopy] A user can drag files to another application to copy them
[iedpCopy, iedpMove] A user can drag files to another application to move or copy them (the desination application will determine which action takes place. Generally this will be copying, or moving if the Shift key is pressed


Examples

// Allow dragging and dropping to/from Windows Explorer
IEFolderMView.AutoDragFiles := [iedaMove, iedaCopy];
IEFolderMView.AutoDropFiles := [iedaMove, iedaCopy];

// Disable dragging and dropping
IEFolderMView.AutoDragFiles := [];
IEFolderMView.AutoDropFiles := [];