|
|
|
| dcFileOperations, dcShellIcon, dcOpenDialog, dcSaveDialog, dcBrowseDialog components.
|
| type
|
| // File operation flags
|
| TdcFileOperationsOptions = set of (fofAllowUndo, fofFilesOnly, fofNoConfirmation, fofNoConfirmMkDir, fofNoErrorUI, fofRenameCollision, fofSilent, fofSimpleProgress);
|
|
|
| property Options: TdcFileOperationsOptions;
|
| The Options property contains the flags which control the file operation. The Options can be a combination of following values:
|
| Value | Meaning
|
| fofAllowUndo | Preserves undo information, if possible. For example, if fofAllowUndo is False, the Delete operation will delete file(s) permamently instead of moving them to "Recycled bin";
|
| fofFilesOnly | Performs the operation only on files if a wildcard filename (*.*) is specified;
|
| fofNoConfirmation | Responds with "yes to all" for any dialog box that is displayed;
|
| fofNoConfirmMkDir | Does not confirm the creation of a new directory if the operation requires one to be created;
|
| fofNoErrorUI | don't show error message box;
|
| fofRenameCollision | Gives the file being operated on a new name (such as "Copy #1 of...") in a move, copy, or rename operation if a file of the target name already exists;
|
| fofSilent | Does not display a progress dialog box;
|
| fofSimpleProgress | Displays a progress dialog box, but does not show the filenames. The value of ProgressTitle will be used instead of filenames
|
| ProgressTitle and Operation properties.
|