Hi Gerard,
Is this what you were looking for :
(
http://groups.google.ca/groups?q=.net+text+boxes+enter+key&hl=en&lr=&selm=8bnrug%2424f%241%40nnrp1.deja.com&rnum=5)
========================================
To move from one box to another with the "Enter" key, you need to re-
map the enter key to send a tab key signal. Put the following code in
the keypress event:
If KeyAscii = 13 Then
SendKeys "{tab}"
KeyAscii = 0
End If
To highlight the text when you get there, put the following code in the
GotFocus event for each text box (substituting the name of each box for
txt1 in this example):
highlight = TextWidth(txt1.Text)
txt1.SelStart = 0
txt1.SelLength = highlight
Note that you cannot shift the focus to a new text box until it is
visible.