你好,我用的是VB.NET。
Private Sub FpSpread1_SubEditorOpening(sender As Object, e As FarPoint.Win.Spread.SubEditorOpeningEventArgs) Handles FpSpread1.SubEditorOpening
If Me.FpSpread1.ActiveSheet.GetCellType(e.Row, e.Column) Is FarPoint.Win.Spread.CellType.NumberCellType Then
e.Cancel = True
End If
不起作用,提示:“NumberCellTypeThen”不是“CellType”的成员。 |