Hi,

I am facing a problem after applying the Alternate Row Color Code in VB, My Flex grid do not show the Focus Rectangle. The Alternate Row Color Code is as under

Code:
Public Sub GridColors(ColorGrid As MSHFlexGrid)
    For j = 0 To ColorGrid.Cols - 1
        For i = 1 To ColorGrid.Rows - 1
            If i Mod 2 = 1 Then
                ColorGrid.Col = j
                ColorGrid.Row = i
                ColorGrid.CellBackColor = RGB(mRed, mGreen, mBlue)
            End If
        Next i
    Next j
End Sub
Please help