I see now...I didn't notice that left arrow was jumping 1 character to the left.
>Hallo again
>Yes I must use the code for left arrow to.
>Otherwise the cursor will be inserted one position before the selected text.
>If the selected text begins at pos 6, the cursor will be placed at pos 5 when I press left arrow.
>Thats why I modificated the code
>/Kjell
>
Steve Gibson