cccdl 你好,
可以设置快捷键对应的 SpreadAciton ,参考代码:
- FarPoint.Win.Spread.InputMap inputmap3;
- inputmap3= fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
- inputmap3.Put(new FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues);
- FarPoint.Win.Spread.InputMap inputmap4;
- inputmap4 = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
- inputmap4.Put(new FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues);
复制代码 |