>I'm in a grid column 1 row 4. I tab into column 2 row 4.
>The GotFocus event of the control resets the table order (inGrid in case you'
re
>wondering).
>Now I don't want the cursor to jump around the grid. IOW, since the cursor w
as
>on row 4 when I tabbed,
>I want it to still be on row 4 in the new column, but still the same record.
>
>I worked on this 1 1/2 years ago but never got it working quite right. I got
s
>omething about 90% acceptable.
>
>I repeat, this is more of a challenge that a request.
See my message of few days ago, I'm doing something similar (just not
with inGrid, I'm using grid form's keypress event to manipulate the
grid), so when I switch order the grid reorders keeping the TOP record
untouched, not the current record. The trick that did it was
form.activate (grid.setfocus worked too, but can't use it from other
form's valid event). Maybe you should check for the recno() in
BeforeRowColChange, and keep it somewhere (a grid property, maybe) so
after tabbing you forcedly GoTo it, and then form.activate before the
grid refreshes.
Worked for me...