本帖最后由 Richard.Ma 于 2021-1-19 15:57 编辑
- Dim ShortcutKeyManager1 As GrapeCity.Win.MultiRow.ShortcutKeyManager = New GrapeCity.Win.MultiRow.ShortcutKeyManager() ShortcutKeyManager1.DefaultModeList.Add(New GrapeCity.Win.MultiRow.ShortcutKey(CType(GrapeCity.Win.MultiRow.EditingActions.EndEdit, GrapeCity.Win.MultiRow.Action), CType((System.Windows.Forms.Keys.Control Or System.Windows.Forms.Keys.C), System.Windows.Forms.Keys))) Me.GcMultiRow1.ShortcutKeyManager = ShortcutKeyManager1
复制代码
​
这个示例就是 按下ctrl + c 会使multirow退出编辑状态
|