[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Converts mouse coordinates to the grid coordinates for a cell in the grid.
Source position: grids.pas line 1345
public function TCustomGrid.MouseToCell( |
const Mouse: TPoint |
):TPoint; overload; |
X: Integer; |
Y: Integer; |
out ACol: LongInt; |
out ARow: LongInt |
); overload; |
Mouse |
|
TPoint instance with the mouse coordinates converted in the method. |
TPoint instance with the grid coordinates for the cell.
X |
|
Horizontal coordinate for the mouse. |
Y |
|
Vertical coordinate for the mouse. |
ACol |
|
Column number for the mouse position. |
ARow |
|
Row number for the mouse position. |
ACol and ARow arguments were changed to output parameters in LCL version 2.1 (revision 65087).