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

TdxCalculateDocumentVariableEvent Type

A document variable calculation event type.

#Declaration

Delphi
TdxCalculateDocumentVariableEvent = procedure(Sender: TObject; E: TdxCalculateDocumentVariableEventArgs) of object;

#Parameters

Name Type
Sender TObject
E TdxCalculateDocumentVariableEventArgs

#Remarks

This event occurs every time a Rich Edit component is about to calculate a document variable.

The Sender parameter provides access to the Rich Edit component that raised a TdxCalculateDocumentVariableEvent event. Cast the parameter value to the TdxRichEditControl or TdxRichEditDocumentServer class to access all class-specific members of the event sender.

The E parameter provides access to additional event arguments that you can change to modify or cancel the predefined document variable calculation routine. Refer to the TdxCalculateDocumentVariableEventArgs class description for detailed information on available options.

The following public API members reference the TdxCalculateDocumentVariableEvent procedural type:

See Also