mshflexgrid如何将一行数据置空mshflexgrid如何将一行数据置空就是将一行所有cell全都设为“”或者指定数据
mshflexgrid如何将一行数据置空
mshflexgrid如何将一行数据置空
就是 将一行 所有cell 全都设为 “”或者指定数据 有没有好方法
不是 removeitem阿
[解决办法]
with mshflexgrid
i=5 '指定行
for j=0 to .cols-1
.textmatrix(i,j)= " "
next j
end with
[解决办法]
Dim iRow As Integer 'iRow要设置的行
Dim fillStyle As Integer '保留原先的填充方式
fillStyle = MSFlexGrid1.fillStyle
iRow = 3
With MSFlexGrid1
.fillStyle = flexFillRepeat
.Row = iRow
.RowSel = iRow
.Col = 0
.ColSel = .Cols - 1
.Text = "指定的值 " '此处为要填充的值
.fillStyle = fillStyle
End With
