>>>>>I agree this sample works just fine.
>>>>>
>>>>>However, it does not duplicate my situation because the control in your grid is still a textbox instead of an editbox and you have no interactiveChange event code for the grid editbox control.
>>>>
>>>>I think I must have missed where you said the control was an EditBox.
>>>>
>>>>You certainly do appear to be right, an EditBox in a grid, I can't even make the .SelStart go anywhere else but the beginning. It jumps back there as soon as the control gets focus. FWIW, it seems it's always worked that way.
>>>
>>>Just an idea... save editbox's .selstart in .lostfocus(), and put it where it was in .gotfocus - may even work.
>>
>>Tried that. The .SelStart goes to 0 even if you set it to some other value in .GotFocus().
>
>This must have been a long thread. I had such a deja vu when I wrote that...
>
>But then it happens to me with my own code. I get an idea, and sit down to write code to do it - and then find out I already wrote it :).
At least I'm not the only one that happens to. But that's better than saying "What idiot wrote THIS code!" and finding out you had done it yourself. :(