TDBRichViewEdit.OnSaveCustomFormat

<< Click to display table of contents >>

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

Stream is empty initially. Save the content of Sender in Stream and set DoDefault to False,  otherwise the component will save document according to the FieldFormat property.

See also events:

OnLoadCustomFormat.