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
295
Navigating grid cell by cell
posted

Hey. I am currently creating an application using the WinGrid that needs to mimic some behaviors from Excel. One feature that is currently not working correctly is navigating the grid cell by cell using the keyboard.

This works fine except when I get to a cell with the CellActivation set to AllowEdit. All of the other cells are set to not to be editable.

When I use the keyboard to move from cell to cell it works fine until I come across a cell that is set to AllowEdit. When it hits that cell the row becomes selected.

Does anyone know how I can make sure all cells are selected when using the keyboard?

Parents
No Data
Reply
  • 295
    Verified Answer
    posted

    Nevermind. I was using the BeforeCellActivate event for something else and totally forgot about it. I fixed that function and everything works.

Children
No Data