folderlistview DeleteSelectedFiles method
Return to Introduction  Previous page  Next page
Applies to
dcFolderListView component.  

Declaration
function DeleteSelectedFiles: Boolean; // returns True if succeed  

Description
The DeleteSelectedFiles property deletes the list items of the dcFolderListView, which represents the real files and folders. The deleted files will be moved to "Recycled bin".  
 
tip When floAllowDelete flag is True in Options, user are able to delete files selecting the list items and clicking the "Del" button, or selecting the "Delete" item in the context menu for the shell object. In this case, the FolderListView will delete file(s) and/or folder(s) automatically, without necessity to call this method.  

See also
Options property and Folder property.  
File not found.