ctlUniGrid.GetRowByY FunctionReturns the row number relative to the given Y coordinate (the Y coordinate without the VScroll_Value as obtained by the MouseMove, MouseDown and MouseUp events)Syntax
Public Function GetRowByY (ByVal y As Long) As Long
Parameters
Remarks
If the Y coordinate passed to this methid is not into any cell the result is -1&
Note: the "VScroll_Value" is automatically added to the Y coordinate when you pass it to this method (so the Y parameter refers only to the visible viewport). |