TTMSFNCCustomSpinner.XYToColumn Method
Returns the zero-based column index at the given pixel coordinates, or
-1if no column is at that position.
API unit family: TMSFNCSpinner
Declaring type: 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.