rvico TRichView Reference | TDBRichViewEdit

TDBRichViewEdit.OnLoadCustomFormat

Top  Previous  Next

This event allows loading data from field in your own format.

type 

  TRVCustomFormatEvent = procedure (Sender: TCustomRichView;

    Stream: TStream; var DoDefault: Boolean) of object;

property OnLoadCustomFormat: TRVCustomFormatEvent;

(introduced in version 10)

Input parameters:

Stream contains data from DataField. Data should be loaded from Stream to Sender.

DoDefault is True.

Output parameters:

If data are loaded successfully, set DoDefault to False, otherwise the component will attempt to load RVF/RTF/text.

See also events:

OnSaveCustomFormat.


TRichView © trichview.com