您好,
可以通过自定义快捷键的方式来实现,代码可以参考:
- FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
- FarPoint.Win.Spread.Keystroke keyStroke = new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.Control);
- im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
- im.Put(keyStroke, FarPoint.Win.Spread.SpreadActions.ClipboardCopyAsStringSkipHidden);
复制代码
希望能够帮助到您。 |