TextField.SetFocus
From Xojo Documentation
Method
Gives the TextField the focus, sending all keydown events to the TextField and moving the cursor there.
Gives the TextField the focus, sending all keydown events to the TextField and moving the cursor there.