TdxScaleFactor.ListenerAdd(TdxScaleFactorNotifyEvent) Method
Registers the specified scaling factor change event handler.
Declaration
procedure ListenerAdd(AEventHandler: TdxScaleFactorNotifyEvent);
Parameters
Name | Type |
---|---|
AEventHandler | TdxScaleFactorNotifyEvent |
Remarks
This procedure supports the internal infrastructure and is not intended to be used directly from your code. The ListenerAdd and ListenerRemove procedures manage the scaling factor’s internal list of TdxScaleFactorNotifyEvent procedures that are automatically called in response to the Numerator and/or Denominator property value changes.
The ListenerAdd procedure is automatically invoked when a scaling factor’s listener object (such as an instance of the TdxCustomForm or TdxForm class) is being initialized.
See Also