Command Prompt for Windows




Command SETFOCUS

Function:

Set the keyboard input focus to the specified dialog box or item.

Syntax:

SETFOCUS dlg_id [id]
dlg_idSpecifies the identifier of a dialog box that contains the specified item.
idSpecifies the identifier of the item to set the focus to.

Note:

When parameter id is not specified then the keyboard input focus will be set to the dialog box specified.

The keyboard input focus may be set to all types of items.

Also see command GETFOCUS.