Top  Previous  Next

Occurs before saving.


  TRVSaveFileEvent = procedure (Sender: TObject;

    Editor: TCustomRichViewEdit; const FileName: TRVUnicodeString;

    FileFormat: TrvFileSaveFilter; CustomFilterIndex: Integer) of object;


property OnSaving: TRVSaveFileEvent;


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.

RichViewActions ©