Vcl.Dialogs.TFileDialogOverwriteResponse

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFileDialogOverwriteResponse = (forDefault = FDEOR_DEFAULT,
forAccept = FDEOR_ACCEPT, forRefuse = FDEOR_REFUSE);

C++

enum DECLSPEC_DENUM TFileDialogOverwriteResponse : unsigned char { forDefault, forAccept, forRefuse };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs Vcl.Dialogs

Description

TFileDialogOverwriteResponse indicates the application's response to an overwrite request during a save operation for a TCustomFileSaveDialog dialog. These are the same values as in the FDE_OVERWRITE_RESPONSE enumerated type used in the Microsoft IFileDialogEvents::OnOverwrite method.


The following table lists the possible values:

Value Meaning

forDefault

The application displays a dialog asking the user whether or not to overwrite.

forAccept

The application returns the file name, allowing the overwrite.

forRefuse

The application does not return the file name, refusing the overwrite.