Enter key behavior

Posted by: arulk on 8 September 2017, 2:14 pm EST

  • Posted 8 September 2017, 2:14 pm EST

    In Excel, when I enter data in a cell and press the enter key, focus moves to the cell directly below that cell. In FarPoint, focus remains on that cell. Is there an easy way to specify the Excel enter key behavior in FarPoint?

    Thanks,
    Arul.

  • Replied 8 September 2017, 2:14 pm EST

    Arul,

    You can try the InputMap to get the desired behavior as follows:

     Dim im As New FarPoint.Win.Spread.InputMap
     im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
     im.Put(New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow)
    Thanks
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels