>
> I need to use the return key to go to the first collumn of a grid. There are 6 collumns and I tried stuffing the keyboard but the buffer will only seem to hold 4 keyboard {leftarrow} 's
> Set focus seems to be my best bet. So I did the folowing
>
> The fist collumn is
>
> thisform.main_tabs.grid2.collumn1.text1.refresh
>
> I tested the property and I have the correct object name.
>
> It locks up foxpro
>
> Thanx again
>
> Chris
Chris,
Here is my approach, (inherited from fpd) to this problem: I add
'dummy' column. In the When method of the textbox of this column I put
a KEYBOARD '{DnArrow}' CLEAR.
You have to make sure that there is already a record in the cursor
underlying your grid, and more important, before the cursor will go to
the first column of the next line, the first column of the current line
will be 'revalidated', which might be a problem.
HTH,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.