ActiveX FlexGrid8控件的换行处理很卡,2000多行刷新需要2-3秒钟,请问各位有没有什么方法可以优化的
With grdWork
.Redraw = flexRDNone
Select Case .ColKey(Col)
Case "MC", "Note"
If gWorkSheetAutoWordWarp Then
.AutoSizeMode = flexAutoSizeRowHeight
.AutoSize Col, Col, False
End If
End Select
.Redraw = flexRDBuffered
End With
|
|