Table of Contents

TTMSFNCSpinner.XYToColumn Method

Returns the zero-based column index at the given pixel coordinates, or -1 if no column is at that position.

API unit family: TMSFNCSpinner Declaring type: TTMSFNCSpinner Inherited from: TTMSFNCCustomSpinner

Syntax

function XYToColumn(X, Y: Single): Integer;

Parameters

Name Description
X Horizontal pixel coordinate relative to the control.
Y Vertical pixel coordinate relative to the control.

Returns

Zero-based column index, or -1 if no column contains that point.