RectControl.SetFocus Method
If applicable, sets the focus to the control. KeyDown events are directed to the control.
Syntax
If the control cannot get the focus on the platform on which the application is running, SetFocus does nothing. The SetFocus method of the Window class or the ClearFocus method can be used to remove the focus from the control that currently has the focus, leaving no control with the focus.