Vcl.Dialogs.TFileDialogShareViolationResponse
Delphi
TFileDialogShareViolationResponse = (fsrDefault = FDESVR_DEFAULT,
fsrAccept = FDESVR_ACCEPT, fsrRefuse = FDESVR_REFUSE);
C++
enum DECLSPEC_DENUM TFileDialogShareViolationResponse : unsigned char { fsrDefault, fsrAccept, fsrRefuse };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | Vcl.Dialogs |
Description
TFileDialogShareViolationResponse indicates the application's response to a sharing violation during a file open or save for a TCustomFileDialog dialog. These are the same values as in the FDE_SHAREVIOLATION_RESPONSE enumerated type used in the Microsoft IFileDialogEvents::OnShareViolation method.
The following table lists the possible values:
Value | Meaning |
---|---|
fsrDefault |
The application displays a dialog telling the user the file is in use allowing selection of another file. |
fsrAccept |
The application returns the file name. |
fsrRefuse |
The application does not return the file name. |