TTMSFNCDataGridRenderer.XYToRow Method
Returns the row index at the given device pixel Y coordinate, or -1 if outside any row.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
function XYToRow(X, Y: Double): Integer;
Parameters
| Name | Description |
|---|---|
X |
Horizontal device pixel position used for nested/fixed area hit-testing. |
Y |
Vertical device pixel position. |
Returns
The zero-based row index, or -1 when outside any row.