DataGrid REALbasic Plugin

DataGrid.CellFromPoint Method

Finds a cell from a point inside the DataGrid control. This variation of the CellFromPoint also gives information if the given point could trigger a cell action.

CellFromPoint(
   x as Integer,
   y as Integer,
   cellX as Integer,
   cellY as Integer,
   action as Boolean)

Parameters

x
The x coordinate of the point used to find a cell.
y
The y coordinate of the point used to find a cell.
cellX
The corresponding column number is returned into this ByRef parameter.
cellY
The corresponding row number is returned into this ByRef parameter.
action
True is returned in this ByRef parameter if the point within the cell would trigger a cell action (such as click on a check-mark)

Remarks

See Also

DataGrid Control