Hi Mike,
I tried it on my current app, put this code into PageLoc.Activate. In Edit box I have code in valid() method. Your idea works, but I had "This application made an illegal operation and should be closed... If this problem still exists, ...." few times. Finally I deleted this code... (returning 'status qo (?)')
But, as I said, your code works :)
>
>> Yes, I saw this. Mike Helland :) I can see only one disadvantage of his method: the text becomes selected... But may be it's what you want.
>
>No it doesn't, SelStart just puts the cursor somewhere. As long as SelLength is 0 or 1 (I forgot, just leave it default) its just the regular cursor. Try it :-)
If it's not broken, fix it until it is.
My Blog