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
105
WinGrid - PageUp/PageDown
posted

Can anyone think of a way where you can get a WinGrid to page up and down when you hit the pageup/pagedown buttons, but not having to select on the grid itself before so?

I want to hard-wire the page up and page down buttons to the grid, and ONLY the grid.  So the page up and page down buttons have to be evaluate by the key-press event, then ONLY control the grid.

If there is a way to write a line of code to perform the equivalent of a page up or page down, but programmatically, then I can do that after I evaluate the key press.

Any thoughts?  Anyway to programmatically control the grid scrolling?  Can I do something like

UltraGrid1.Scoll.Up  

UltraGrid1.Scoll.Down 

Any help or suggestion would be appreciated.

Jon