Table of Contents

TTMSFNCDataGrid.XYToCell Method

Converts a pixel coordinate (relative to the control) to a cell coordinate.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

function XYToCell(X, Y: Double): TTMSFNCDataGridCellCoord;

Parameters

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

Returns

The TTMSFNCDataGridCellCoord of the cell under the point.