WebControl.SetFocus (gb.web.form)

Sub SetFocus ( [ Highlight As Boolean ] )

Set the focus on the control.

  • Highlight is an optional argument that specify if the control contents must be highlighted. It usually works only for TextBox or TextArea controls.