Back to Devexpress

TdxScaleFactorNotifyEvent Type

vcl-cxgeometry-cea271f6.md

latest1.6 KB
Original Source

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

NameType
SenderTObject
MInteger
DInteger
IsLoadingBoolean

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

cxGeometry Unit