<< Click to display table of contents >> TSRichViewEdit.OnNewDocument |
Occurs when creating or before loading document
property OnNewDocument: TNotifyEvent;
See the event of the same name in the TRichView help file (event of TRichView).
This event may be called:
•in TDBSRichViewEdit
•if Document is linked to a database field using LiveBindings
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: