TCustomGrid.MouseCoord function
Gets the cell coordinates for the specified mouse pointer position.
Declaration
function MouseCoord(X: Integer; Y: Integer): TGridCoordArguments
X | Horizontal screen coordinate for the mouse pointer. |
Y | Vertical screen coordinate for the mouse pointer. |
Function result
TGridCood instance with the cell coordinates for the mouse pointer.
Description
MouseCoord is
TGridCoord function used to get the
coordinates for the mouse pointer as cell coordinates. It calls the
MouseToCell method to get the TGridCoord (an alias to TPoint) instance used
in the return value.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
