Try:
In Grid.AfterRowColChange, set the SelStart property of Grid.Column1.Editbox to 0
>
>I have an EDITBOX in one of the columns of a grid. SPARSE is set
>FALSE.
>
>If the end-user scrolls a particular EDITBOX to read its contents, and
>then clicks on the same EDITBOX in another row, that EDITBOX on the
>new row positions its contents at the same character position as that of the EDITBOX the
>end-user just left.
>
>To get rid of this unwanted effect I have put a
>KEYBOARD "{CTRL+HOME}" in the LostFocus Event of the EDITBOX. This
>works to a point in that if you go from one EDITBOX to the same
>EDITBOX in another row but in the same column, the Ctrl+Home repositions
>the cursor at the beginning of the new EditBox's contents.
>
>But it is not perfect. If you leave the EDITBOX and click on a
>DIFFERENT row but not in the same column, then it still occurs : the
>EDITBOX in the NEW ROW but in the SAME COLUMN as the column you just
>left, repositions itself at the same character position as where you had left the
>EDITBOX in the last row you were at (this could be
>lines and lines after the first word!).
>
>Has anyone works something that gets round this ?
>
>Michel Creppy.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05