![]() |
![]() ![]() ![]() |
dcFolderListView component.
|
type
|
TdcFolderListViewOptions = set of (floOpenFiles, floExploreFolders, floShowContextMenu, floAllowDelete, floOleDrag, floOleDrop);
|
|
property Options: TdcFolderListViewOptions;
|
The Options property specifies behaivor of the dcFolderListView, giving to the list view or restricting some abilities of standard Windows Explorer.
|
|
There are possible flags:
|
Value | Meaning
|
floOpenFiles | Determines whether the user can open files or execute programs doubleclicking the file icon or pressing the "Enter" on selected list item. (If floExploreFolders flag is False and user doubleclicks the folder, it will opens the folder in separate window.);
|
floExploreFolders | Determines whether user can pass to the subfolders doubleclicking the folder icon image (or selecting "Explore" item in the context menu for the list item, when floShowContextMenu is True).
|
|
When floExploreFolder is True, user also can press "Enter" to pass to the subfolder, or press "Backspace" to return back to the up-level folder;
|
floShowContextMenu | Whether the context menu for the shell object should pops up when user clicks right mouse button on list item;
|
floAllowDelete | Determines whether the FolderListView should allow deleting files when user clicks "Del" button or selects "Delete" item in the context menu.
|
|
![]() |
floOleDrag | enables automatic Drag support via OLE. User can drag (move) files to any Windows Explorer window.
|
floOleDrop | automatic Drop support via OLE. When floOleDrop = True, user can drop to the FolderListView any files from the Windows Explorer.
|
Folder property and DeleteSelectedFiles method.
|