Sets the focus to the control that is passed if possible.
FUNCTION OnLoad()
this.SetFocus(this.txtName)
ENDFUNC
o.SetFocus(loControl)
Parameters
loControl
The control that is to be focused.
Remarks
This routine adds JavaScript to the page to focus a control.
See also:
Class wwWebPage