show / hide menu

SetFocus

This function is used to set focus for a control.

Syntax:

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.