ctlUniGrid.GetColByAbsX FunctionReturns the column number relative to a certain X coordinate (the X coordinate with the HScroll_Value)Syntax
Public Function GetColByAbsX (ByVal x As Long) As Long
Parameters
Remarks
If the X coordinate passed to this methid is not into any cell the result is -1&
Note: the "HScroll_Value" is NOT automatically added to the X coordinate. |