Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21281

Problem after applying Alternate Row Colr of FlexGrid

$
0
0
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

Viewing all articles
Browse latest Browse all 21281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>