ImageEn, unit iexFolderTree

TIEFolderTree.AutoDragFiles

TIEFolderTree.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
IEFolderTree1.AutoDragFiles := [iedaMove, iedaCopy];
IEFolderTree1.AutoDropFiles := [iedaMove, iedaCopy];

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