To set the focus on specific control when form is open, you need to override the firstField() method of the form and set your desired control after super() call.

public void firstField(int _flags=1)
{
;
super(_flags);
desiredControlName.setFocus();
}