Unicode Controls & Classes for VB6 - Version 4

ctlUniGrid.GetCellAbsRect Method

Returns the coordinates of the given cell

Syntax
Public Sub GetCellAbsRect (ByVal iRow As Long, _
ByVal iCol As Long, _
ByRef X1 As Long, _
ByRef y1 As Long, _
ByRef X2 As Long, _
ByRef y2 As Long)
Parameters
Parameter Description
ByVal iRow As Long The row index
ByVal iCol As Long The column index
ByRef X1 As Long (OUT) Left coordinate
ByRef y1 As Long (OUT) Top coordinate
ByRef X2 As Long (OUT) Right coordinate
ByRef y2 As Long (OUT) Bottom coordinate
Remarks
The returned coords are NOT relative to the visible viewport (VSCROLL and HSCROLL values are not treated)