System.Beacon.Components.TBeacon.OnCalcDistance

From RAD Studio API Documentation

Delphi

property OnCalcDistance: TBeaconCalcDistanceEvent read FOnCalcDistance write FOnCalcDistance;

C++

__property OnCalcDistance;

Properties

Type Visibility Source Unit Parent
event published
System.Beacon.Components.pas
System.Beacon.Components.hpp
System.Beacon.Components TBeacon

Description

The OnCalcDistance event is fired inmediatelly before the Distance is calculated. {{#multireplace:System.Beacon.Components.TBeacon.OnCalcDistance|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Beacon.Components.TCustomBeacon.OnCalcDistance|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Beacon.Components.TCustomBeacon.OnCalcDistance|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

The OnCalcDistance event is fired inmediatelly before the Distance is calculated.

You can use OnCalcDistance to provide your own algorithm to calculate the Distance.

See Also