I am trying to update a 8 row 10 column msflexgrid, but cannot stop the flicker in the cells
setting the autodraw to false then true helps, but does not stop it completely.
How can this be fixed ?
the code
Sub ResetBoard() 'reset all the cells back to form load(imgCellBG.Picture) Dim r As Integer Dim c As Integer flexCleo.Redraw = False DoEvents For c = 0 To 9 For r = 0 To 7 With flexCleo .Col = c .Row = r .CellForeColor = vbWhite '.CellPicture = imgHitUnSelected.Picture Set .CellPicture = imgCellBG.Picture End With Next Next flexCleo.Redraw = True End Sub
Thanks MartinLiss