<< Click to display table of contents >> TRichViewEdit.OnSaveCustomFormat |
This event allows saving data to field in your own format.
type
TRVCustomFormatEvent = procedure (Sender: TCustomRichView;
Stream: TStream; var DoDefault: Boolean) of object;
property OnSaveCustomFormat: TRVCustomFormatEvent;
(introduced in version 10)
This event occurs when saving a document from a database field:
▪linked using live binding (Delphi XE2+, see Document property)
▪by TDBRichViewEdit component
Stream is empty initially. Save the content of Sender in Stream and set DoDefault to False, otherwise the component will save its document according to:
▪(for TRichViewEdit linked using LiveBindings) Document.FieldFormat
▪(for TDBRichViewEdit) FieldFormat property.
See also events: