show / hide menu

SetFocus

This function is used to set focus for a control.

Example:
SetFocus(ControlName)
Control name is the display name of the control for which the focus has to be set.

Example:
SetFocus(Listbox)
The function will set the focus on the list box.