- Public Class Form1
- Private Sub FpSpread1_CellClick(sender As Object, e As FarPoint.Win.Spread.CellClickEventArgs) Handles FpSpread1.CellClick
- '有逻辑处理
- End Sub
- Private Sub FpSpread1_ButtonClicked(sender As Object, e As FarPoint.Win.Spread.EditorNotifyEventArgs) Handles FpSpread1.ButtonClicked
- 'Bool一个变量,这里为了测试直接用True
- If True Then
- FpSpread1.ActiveSheet.SetText(e.Row, 0, False)
- MsgBox("要提示的Msg,存在的问题就是Msg会提示两次")
- Exit Sub
- End If
- End Sub
- End Class
复制代码 Spread是10.0
|