我使 MSHFlexGrid1 其中一个单元格变色,为什么只有一个变?
While Not Rs.EOF And i <= Rs.PageSize
.Rows = i + 1
.TextMatrix(i, 0) = Rs("id")
if Rs("id") then
.CellFontBold = True
.CellAlignment = flexAlignLeftCenter '设置左居中对齐
.CellBackColor = vbRed
end if
rs.movenext
只有一个变,我想使此单元格都变,另外字体变色是哪个?