Back to Devexpress

TdxRichEditControlBase.OnEmptyDocumentCreated Event

vcl-dxrichedit-dot-control-dot-core-dot-tdxricheditcontrolbase-e91c16ff.md

latest1.3 KB
Original Source

TdxRichEditControlBase.OnEmptyDocumentCreated Event

Enables you to respond to a document create operation in the Rich Edit control.

Declaration

delphi
property OnEmptyDocumentCreated: TNotifyEvent read; write;

Remarks

This event occurs every time the NewDocument end-user command, a CreateNewDocument or Document.CreateNewDocument procedure call successfully replaces the opened document with a new blank document. For instance, you can handle the OnEmptyDocumentCreated event to pre-populate new documents.

The Sender parameter provides access to the Rich Edit control that raised the OnEmptyDocumentCreated event. Cast the parameter value to the TdxRichEditControl class to access all class-specific members of the control.

See Also

TdxRichEditControlBase

TdxRichEditControlBase Members

dxRichEdit.Control.Core Unit