<< Click to display table of contents >> TCustomRichView.OnLoadCustomFormat |
This event allows loading data from a database field in your own format.
type
TRVCustomFormatEvent = procedure (Sender: TCustomRichView;
Stream: TStream; var DoDefault: Boolean) of object;
property OnLoadCustomFormat: TRVCustomFormatEvent;
(introduced in version 10)
This event occurs when loading a document from a database field:
▪linked using LiveBindings (Delphi XE2+, see Document property)
▪by TDBRichView and TDBRichViewEdit components
Input parameters:
Stream contains data from a database field. 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: