ctlUniGrid.GetCellRectByCoords MethodFinds the cell on the given coordinates and returns the cell rectangleSyntax
Public Sub GetCellRectByCoords (ByVal x As Long, _
ByVal y As Long, _ ByRef X1 As Long, _ ByRef y1 As Long, _ ByRef X2 As Long, _ ByRef y2 As Long) Parameters
Remarks
The returned coordinates are relative to the visible viewport (so you can pass the coordinates directly from the MouseMove, MouseDown and MouseUp events without changes)
|