method SetFocus
Set the focus to the component.
For example:
btnButton1.SetFocus
will set focus to button component Button1.
See Also
Form Designer Component Methods