RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Dialogs.TFileDialogOverwriteResponse Enumeration

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.

Pascal
TFileDialogOverwriteResponse = (
  forDefault = FDEOR_DEFAULT,
  forAccept = FDEOR_ACCEPT,
  forRefuse = FDEOR_REFUSE
);
C++
enum TFileDialogOverwriteResponse {
  forDefault = FDEOR_DEFAULT,
  forAccept = FDEOR_ACCEPT,
  forRefuse = FDEOR_REFUSE
};

Dialogs

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!