Hi Peter,
Thank's for sharing it with us. BTW, you can mark your message as solution so it'll be eisier identified in UT searches.
< snip >
>So here is how to put the cursor at the end of existing text in a memo field and never select all of the text on entry:
>
>1) Make sure the EDITBOX.SELECTONENTRY property is FALSE.
>
>2) Make sure the EDITBOX.FORMAT property is empty at design time.
>
>3) Make sure the EDITBOX.FORMAT property is empty at run time.
>
>4) Place this code in the EDITBOX WHEN method:
> THIS.SELSTART = 99999
> RETURN .T.
>
>
--sb--