>I have a grid that is populated using a "select * into cursor xyz". if the user scrolls down to the bottom of the grid, blank lines appear at the bottom. these are not blank records, just blank lines.
>
>see this screen shot -
http://www.vimware.com/grid.jpg>
>"jay mack" is the bottom record. is there a way to force the bottom record in the grid to be "jay mack" such that the blank lines do not appear when the user scrolls down?
>
>the client only wants blank lines to appear if there are say 15 records in the cursor and the grid displays 20 records. in that case 5 blank lines would appear at the bottom.
>
>thanks,
>
>vim
Hi Vim,
I would stay away from fighting the default grid behavior in this case. You will need to override all possible ways the user can scroll the grid - with the keys and mouse clicks on the scroll bar/buttons. While this is possible, the results may not be pretty. You may see all kind of flashing and jumping of the grid data.
The cure may be worse than the disease. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison