>I am using a grid to present 12 rows x 10 columns of data. The scroll bars are off. There seems to be plent of room at the bottom to accomodate the 12 rows and then some. Despite this, when down arrow is pressed while a cell in the last row has focus, the grid tends to move up a row.
>
>I've found that if the grid height = 13 rows (plus a few more pixels), the scroll will not be forced at down arrow.
>
>I am using VFP 8 and AllowAdd is False.
>
>Thanks!
Hi Terry,
Did you try to play with column(s).Textbox.KeyPress() event? By intercepting and reacting to the ceratin keystrokes you can make the behavior pretty much anything you want. Try conditional NODEFAULT for the down arrow keystroke. Once I made a form with the grid that worked like a spreadsheet.
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