Private Sub Form27_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim NumberCellType1 As FarPoint.Win.Spread.CellType.NumberCellType = New FarPoint.Win.Spread.CellType.NumberCellType()
NumberCellType1.MaximumValue = 999.0R
NumberCellType1.MinimumValue = 1.0R
Me.FpSpread1_Sheet1.Columns.Get(0).CellType = NumberCellType1
End Sub
Private Sub FpSpread1_EditModeOn(sender As Object, e As EventArgs) Handles FpSpread1.EditModeOn
DirectCast(FpSpread1.EditingControl, CellType.GeneralEditor).Value = 0
End Sub
单元格的最小值是NumberCellType1.MinimumValue = 1.0R
但是 DirectCast(FpSpread1.EditingControl, CellType.GeneralEditor).Value = 0
更新的时候FpSpread1.ActiveSheet.Cells(0, 0).Text为啥也更新成了0
怎末能让这种MinimumValue 大于DirectCast(FpSpread1.EditingControl, CellType.GeneralEditor).Value的时候单元格text不更新