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
1205
Determine Row During KeyDown or KeyPress Event
posted

Is it possible to determine the row and access its cells at a KeyDown or KeyPress event?

My users want to scroll WinGrid using the keypad, and as each row is activated, or scrolled to,  I need to display a popup using a key within the grid row to retrieve non grid data.

This sounds doable, but can't pin down a solution.

Any ideas you can pass along would be appreciated.

 

 

 

  • 37774
    Suggested Answer
    posted

    You have a couple options, you could either look at the ActiveRow of the grid or you could handle the AfterRowActivate event if you want to know what the row is when the activation is changed for whatever reason.

    -Matt