The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



TOnOverwriteEvent


Unit:SDL_filesys
Class:TUnivSaveDialog
Declaration:TOnOverwriteEvent = procedure (Sender: TObject; FileName: string; var OverwriteReply: TModalResult) of object;

The type declaration TOnOverwriteEvent declares the OnOverwrite event which occurs when the entered filename already exists. The parameter FileName contains the full path of the referenced file. The variable parameter OverwriteReply has to be set to one of the following values: mrYes, mrNo, or mrCancel. Any other value will raise an exception.


Last Update: 2012-Oct-20