TCursorTool.SnapToPoint
TCursorTool
function SnapToPoint: Integer;
Unit
TeeTools
Description
This function returns the series point nearest to the cursor tool.
SnapToPoint can only be used when series property is not nil, otherwise the result will be always -1.
See OnSnapChange event and Snap property.