Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
Cell Movement Like Excel but when the cursor is at the first and the last position in a cell
posted

 How to move the Cell like excel using left right key, but only when the cursor position is at the first and the last in a cell.

  • 469350
    Offline posted

    I guess one thing you could do is trap the KeyUp event of the grid and then check the grid.ActiveCell.SelStart to see if the curos is in the first or last position. Then you could call PerformAction to move to the next or previous cell.