>>>>>>I know this has been asked but can't find the answer. If I have a grid that fits the records perfectly when I get to the bottom of the grid I don't want it to move up the records and show an empty one at the bottom. Is there a way to change that?
>>>>>
>>>
>>>Very colorful <g> I see the problem. The first idea that comes to mind is to disable DownArrow key in the last row. E.g. put a code in Grid's KeyPress and bind textboxes.KeyPress to grid's Keypress.
>>
>>Thanks that might work but Borislav Borissov works and I think it might be easier. I was going to try and make a FoxPro program that will solve the papers Sudoku problems. So I can enter the numbers and click solve and get the answer.
>
>Forgot:
>- MouseWheel, CTRL+DOWNARROW,...
Being that it's just a program to solve the paper's puzzle. I'm not worrying about all the possibilities. The down arrow was just annoying to me. Most of the time in our programs we don't know the exact records in a grid so we would want it to scroll.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers