wwWebPage.SetFocus

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

foxpro
foxpro
* ** 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, 2025 • Updated: 2025-03-12
Comment or report problem with topic