BeforeOverwriteFile Event

Applies to
TWPRichText

Declaration
TWPBeforeOverwriteFile = Procedure(Sender: TObject; FileName: string; FormatString: string; State: TWPSaveToFileState; var Abort: Boolean) of object;

Description
This event is triggered before a file is overwritten by the editor. We suggest to make a backup copy of the existing file, maybe even support different versions. Backup copies can be also created in special designated 'backup' directories.


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com