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


  Last Updated: 12/1/2007 | © West Wind Technologies, 2008