>Is there a way to prevent a grid from scrolling? I have a grid on a form where, in many cases, there are fewer records than there is space on the grid. Sometimes as my code runs or if the user hits the mouse wheel some number of records scroll up off the screen. I would like to stop the scrolling till the record count is more that will fit on the grid.
>
>I tried using NoDefault in the DoScroll but it did nothing.
>TIA
Perhaps you can calculate if the number of records fits into the grid - don't show scrollbars?
That's just the first idea that comes to mind.
If it's not broken, fix it until it is.
My Blog