Hi,
try...
txtMyText.Focus
txtMyTest.SelectionStart = txtMyTest.TextLength
HTH
Pete
--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com
"P" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to get the caret placed at the end of the text in a textbox
> when it recieves focus. What I want to do is trap a certain key and insert
a
> charachter to a textbox and focus it. But the caret appears at the
beginning
> of the string. Not quite what I was looking for.
>
> Advice?
>
> <P>
>
>