Private Sub Form_Load()
Timer1.Interval = 300
End Sub
Private Sub Timer1_Timer()
Dim i
Static blnColor As Boolean
With MSHFlexGrid1
.Row = 2
For i = 1 To .Cols - 1
.Col = i
.CellBackColor = IIf(blnColor, vbRed, vbWhite)
Next i
End With
blnColor = Not blnColor
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.