comp • gb.web.form2 • webcontrol • setfocus

WebControl.SetFocus (gb.web.form2)

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.