TrvActionSave.OnSaving |
Top Previous Next |
|
Occurs before saving. type TRVSaveFileEvent = procedure (Sender: TObject; Editor: TCustomRichViewEdit; const FileName: String; FileFormat: TrvFileSaveFilter; CustomFilterIndex: Integer) of object;
property OnSaving: TRVSaveFileEvent; Parameters: Editor – editor for saving. FileName – file name (full path) to save. FileFormat – format to save. CustomFilterIndex used only if FileFormat is ffeCustom. If FileFormat = ffeCustom, CustomFilterIndex identifies a custom file format. Custom formats are numbered from 1 in the order they are listed in the CustomFilter property of the linked TrvActionSaveAs action. |