您可以通过下面方式改变在编辑状态时回车的行为
var InputMap_whenAncestorOfFocused = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
InputMap_whenAncestorOfFocused .Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Return, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow); |