control.setFocus (Client API reference)

Sets the focus on the control.

Control types supported

all

Syntax

formContext.getControl(arg).setFocus();