WebControl.SetFocus
From Xojo Documentation
Method
Sets the focus to the WebControl.
Example
This example checks for a required value when a button is pressed:
Sets the focus to the WebControl.
This example checks for a required value when a button is pressed: