各位,为啥我如下设置CTRL+A快捷键用于表格全选,没有效果呢?如果设置F12单键就可以生效,请大家支持下,谢谢。
代码如下:
FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
im = this.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Control, Keys.A), FarPoint.Win.Spread.SpreadActions.SelectSheet);
im = this.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Control, Keys.A), FarPoint.Win.Spread.SpreadActions.SelectSheet);
|
|