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

TdxScaleFactorNotifyEvent Type

A procedural type of the scaling factor change notification event handlers.

#Declaration

Delphi
TdxScaleFactorNotifyEvent = procedure(Sender: TObject; M: Integer; D: Integer; IsLoading: Boolean) of object;

#Parameters

Name Type
Sender TObject
M Integer
D Integer
IsLoading Boolean

#Remarks

Use the Sender parameter to access the scaling factor object that raised the event. To access the scaling factor’s type-specific members, cast Sender to the TdxScaleFactor class. The M and D parameters return the scaling factor’s new Numerator and Denominator property values. The IsLoading parameter value identifies if the notified scaling factor’s listener (such as an instance of the TdxForm class or its descendant) is currently being loaded.

The scaling factor’s ListenerAdd and ListenerRemove procedures accept a TdxScaleFactorNotifyEvent procedure as the AEventHandler parameter.

See Also