| 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.
|