Using the -On Enter- event -Thats it!
I tried moving the cursor to the end of the text, using Selstart and SelLength and that didn't help, but I noticed that the code was activated when the mouse was pressed rather than when it was depressed.
So, I shifted the focus of the control off the...