你好, Escape 是 Spread 默认快捷键,所以 Escape 不会触发 KeyDown 事件,如果想获取 Escape KeyDown 事件,可以进行如下设置:
- FarPoint.Win.Spread.InputMap im = this.fpSpread1.GetInputMap(InputMapMode.WhenAncestorOfFocused);
- im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Escape, Keys.None), FarPoint.Win.Spread.SpreadActions.None) ;
复制代码 |