TdxScaleFactorNotifyEvent Type
A procedural type of the scaling factor change notification event handlers.
Declaration
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