请各位前辈帮我看看为什么不对
我利用MSHFlexGrid控件让表的第四行第四列的表格显示信息Private Sub Form_Load()
MSHFlexGrid.Row = 4
MSHFlexGrid.Cols = 4
MSHFlexGrid.Text = "流量"
End Sub
为什么显示错误
MSHFlexGrid1.Clear MSHFlexGrid1.Visible = True With MSHFlexGrid1 .Cols = 5 .Rows = 2 .TextMatrix(0, 0) = "ID" .TextMatrix(0, 1) = "名称" .TextMatrix(0, 2) = "型号" .TextMatrix(0, 3) = "批次" .TextMatrix(0, 4) = "生产时间" .TextMatrix(1, 0) = 1 .TextMatrix(1, 1) = "ABCD" .TextMatrix(1, 2) = "A01-2" .TextMatrix(1, 3) = "160421" .TextMatrix(1, 4) = "2016-4-21" .ColWidth(0) = 600 .ColWidth(1) = 1200 .ColWidth(2) = 1000 .ColWidth(3) = 800 .ColWidth(4) = 1000 End With