谢谢你了,已经解决了。十分感谢帮忙,解决问题。下面是我在其他地方找到的,可以直接crtl+V复制值
Dim inputmap1 As FarPoint.Win.Spread.InputMap
inputmap1 = sprMain.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused) inputmap1.Put(New FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues)
Dim inputmap2 As FarPoint.Win.Spread.InputMap i
nputmap2 = sprMain.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
inputmap2.Put(New FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteValues)
在此感谢, |