TdxRichEditCustomDocumentServer.OnDocumentClosing Event
Enables you to respond to an attempt to close a document with unsaved changes.
Declaration
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