Hi,

I need to set picture in every cell of grid control with more than 200 cells by 200 rows.

However this process takes more time that bearable. Can anyone give me a suggestion how to speed this process.

here is how I do this


Grid.Redraw = false
Dim j as Integer
Dim i as Integer
for j = 0 to Grid.Cols - 1
for i = 0 to Grid.Rows - 1
Grid.Row = i
Grid.Col = j
Grid.CellPictureAlignment = flexAlignCenterCenter
set Grid.CellPicture = LoadResPicture(104, vbResIcon)
next
next
Grid.Redraw = true







Thanks

Valery Iskarov Nikolov
Software Dynamics