用官方提供的以下代码实现Enter key 按下,移动到下个单元格,但是下一个单元格如果是下拉列表,就移动不了。盼有解决方法。
==========================================================
inputMap = mySpread.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
inputMap.Put(New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnWrap)
inputMap.Put(New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.Shift), FarPoint.Win.Spread.SpreadActions.MoveToPreviousColumnWrap)
========================================================== |
|