TDBRichViewEdit.OnNewDocument

<< Click to display table of contents >>

TDBRichViewEdit.OnNewDocument

Occurs when creating or before loading document

property OnNewDocument: TNotifyEvent;

(introduced in v1.9)

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:

OnLoadDocument.