FarPoint.Win.Spread.InputMap inputmap1
inputmap1 = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
inputmap1.Put(new FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues);
FarPoint.Win.Spread.InputMap inputmap2;
inputmap2 = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
inputmap2.Put(new FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues);
通过上述代码修改后,拷贝时可以带格式,
但是我需要一个效果,拷贝checkbox到其他单元格的时候
能不能拷贝出来不是true和false,而是1和0。 |
|