spread中cell按ENTER后进入下一个cell:
//选定某一单元格
this.sprLoss.Sheets[0].SetActiveCell(0,3,true);
FarPoint.Win.Spread.InputMap im;
// 编辑中cell的Enter 键动作
im = this.sprLoss.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
// 移动到下一个cell
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow);
// 选定cell的Enter 键动作
im = this.sprLoss.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
// 移动到下一个cell
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow);