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
1528
Navigation between multiple grids
posted

I need to enable keyboard access for navigation between multiple grids on a form. Currently, my users have to mouse click into each grid.  Two questions:

1) is there an industry or defacto standard key sequence to invoke this, such as Ctrl-Tab?

2) what is the best way to implement, for example, having Ctrl-Tab move focus from (any cell within) the current grid and to the next control in the tab order.

Parents
  • 69832
    Verified Answer
    Offline posted

    1) By default, a Form will send the focus to the next control in the tab order when the tab key is pressed. However, UltraGrid overrides this behavior via the TabNavigation property, which default to navigating to the next cell. You can set that property to 'NextControl' to make it navigate to the next control instead.

    2) You would have to derive from UltraGrid, override the IsInputKey method, and return true for that key combination, then handle KeyDown and manually process it. I believe you can then use the Form's ProcessDialogKey method to make it navigate to the next control.

Reply Children