wwWebPage.SetFocus

Sets the focus to the control that is passed if possible.

* ** Page level OnLoad event
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