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:

Class wwWebPage

© West Wind Technologies, 1996-2024 • Updated: 12/01/07
Comment or report problem with topic