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