Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditCustomDocumentServer.OnDocumentClosing Event

In This Article

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