麻烦帮我看一下这么写代码有什么问题
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.End, Keys.None), FarPoint.Win.Spread.SpreadActions.None)
End Sub
Private Sub FpSpread1_KeyDown(sender As Object, e As KeyEventArgs) Handles FpSpread1.KeyDown
If e.KeyCode = System.Windows.Forms.Keys.End Then
End If
End Sub
End Class
这种非编辑状态下 按END键
断点进来了 如图
编辑状态下
按下END键
断点进不去
|