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

TdxRichEditControlBase.OnCalculateDocumentVariable Event

In This Article

Enables you to insert custom content into a DOCVARIABLE field.

#Declaration

Delphi
property OnCalculateDocumentVariable: TdxCalculateDocumentVariableEvent read; write;

#Remarks

This event occurs every time the Rich Edit control is about to evaluate a DOCVARIABLE document field when its content is updated or during a mail merge operation.

Refer to the TdxCalculateDocumentVariableEvent procedural type description for detailed information on parameters accessible within an OnCalculateDocumentVariable event handler.

Note

The OnCalculateDocumentVariable event never occurs for locked DOCVARIABLE fields.

See Also