<< Click to display table of contents >> TCustomRichView.OnNewDocument |
Occurs when creating or before loading a document.
property OnNewDocument: TNotifyEvent;
(introduced in v1.9)
This event occurs when loading a document from a database field:
▪linked using LiveBindings (Delphi XE2+, see Document property)
▪by TDBRichView and TDBRichViewEdit components
It occurs:
▪on creating new document (before displaying field from newly added record);
▪before loading document from the field.
Use this event to assign default values to properties (such as background, margins, styles).
See also: