FpSpread类型的workBook有个方法叫Controls.Add,可以动态向workBook添加按钮,复选框等等控件,请问可以动态添加一个sheetView给workBook吗?下面这样写会有编译错误
「类型'FarPoint.Win.Spread.SheetView'无法转化为'System.Windows.Forms.Control'」
Dim sheet1 As New FarPoint.Win.Spread.SheetView
sheet1 = New FarPoint.Win.Spread.SheetView
Me.WorkBook1.Controls.Add(sheet1)
谢谢! |
|