Overwrite property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT Overwrite

Delphi Syntax

Overwrite: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a value that indicates how to handle the existence of a file that has the same converted file name, extension, and path, when converting a file using the FileConversion dialog box. Possible values are:

Value

Meaning

DLG_FILECONVERSION_OVERWRITE_ASK

[0] A message box appears each time and asks what to do with this file. It also lets you abort all conversion operations.

DLG_FILECONVERSION_OVERWRITE_SKIP

[1] Skip converting this file and go on to the next file.

DLG_FILECONVERSION_OVERWRITE_REPLACE

[2] Replace the existing file with the new file.

DLG_FILECONVERSION_OVERWRITE_RENAME

[3] Give the new file a different file name from the existing file.

See Also

Elements:

ShowFileConversionDlg method, FileFormats property, SelectedExt property, ServerAppName property, DestinationPath property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events