>Hi
>
>I have 10 columns in a grid - a button sets my focus at row 1 column 9 - after completing column 9 the cursor moves to colum 10
>
>Afer column 10 I want to set the focus to row 2 column 9 etc
>
>How do I do this?
>
>Thanks
>
>Colin
Depending on your grid configuration you may try to add in the Column10.Text1.LostFocus a piece of code for appropriate key strokes, like:
set confirm off
if lastkey()=13
keyboard "{leftarrow}"
keyboard "{dnarrow}"
keyboard "{leftarrow}"
endif