Back to Devexpress

TdxRichEditCustomDocumentServer.OnDocumentClosing Event

vcl-dxrichedit-dot-documentserver-dot-tdxricheditcustomdocumentserver-1f3bf43f.md

latest970 B
Original Source

TdxRichEditCustomDocumentServer.OnDocumentClosing Event

Enables you to respond to an attempt to close a document with unsaved changes.

Declaration

delphi
property OnDocumentClosing: TdxCloseQueryEvent read; write;

Remarks

This event occurs every time the opened document with unsaved changes is about to be closed or replaced with another document. Handle this event to save the document before it is closed or forbid the document close operation.

Refer to the TdxCloseQueryEvent procedural type description for detailed information on all parameters accessible within an OnDocumentClosing event handler.

See Also

TdxRichEditCustomDocumentServer Class

TdxRichEditCustomDocumentServer Members

dxRichEdit.DocumentServer Unit