FOCUS Mnemonic - Set Focus To Control/Window
Syntax
'FOCUS'(id)
Description
The 'FOCUS' mnemonic sets keyboard focus to the control specified. With edit, list edit, and custom edit controls, the 'FOCUS' mnemonic places the editing caret in them. (See also Keyboard Focus, Keyboard Navigation, and the Default Button .) If the containing window is obscured, 'FOCUS' does not raise it. 'FOCUS'(0) sets keyboard focus to the main window in the current context.
Parameter |
Description |
id |
Control ID number. It must be an integer between 0 and 32767. |