Table of Contents

TTMSFNCPlanner.XYToItem Method

Returns the item at the specified control coordinates.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCPlanner Inherited from: TTMSFNCCustomPlanner

Syntax

function XYToItem(X, Y: Double): TTMSFNCPlannerItem; virtual;

Parameters

Name Description
X Horizontal coordinate in control pixels.
Y Vertical coordinate in control pixels.

Returns

The planner item under the coordinate, or nil when none exists.