SETFOCUS

Synopsis
SETFOCUS caption
Description

Selects a window whose caption (or title) is caption. When a window has focus, it is selected and all keyboard input is directed to it.

A window's "caption" is not the same as the window's "name" used by the windows commands.

Running SETFOCUS [FMSLogo] always gives focus to the screen window.

Example

Give focus to the screen window:

SETFOCUS [FMSLogo]
See Also
GETFOCUS

SourceForge.net Logo