Set the focus to a specific control.
The action arguments are:
The focus index to set the focus to. If the control name is to be used instead of specific focus index value then this value should be set to -1 to avoid confusion about the intent of the action.
The name of a control to set the focus to.
Only one of either the index or the control need to be provided for this action. If both arguments are set, then the index value will be used.
In order for this action to complete successfully, the control specified must be set as focusable. For more information about making controls focusable and the focus operation in Storyboard, refer to the Focus section in the Execution Pipeline part of this document.