KeyDown

These events are generated to indicate that a key is pressed. The HotKeys property must be set to FALSE before the file is opened for these events to be generated.

For more information about HotKeys, see HotKeys.

Syntax

KeyDown(KeyCode, Shift)

Parameters

Parameter Type Description
KeyCode Integer The virtual key code of the key that was pressed.
Shift Integer This parameter is always 0.