Description:
Occurs when the user presses a key on the keyboard.
Syntax:
Sub IGPageViewCtl_KeyDown(KeyCode As Integer, Shift As Integer)
Parameters:
Name |
Description |
KeyCode |
A virtual key code such as vbKeyEscape |
Shift |
A combination of bit flags indicating state of Shift, Ctrl, and Alt keys at time of key press. Shift is bit 0 (LSB), Ctrl is bit 1, and Alt is bit 2. If only Shift was held, the value will be 1. If only Ctrl was held, it will be 2. If only Alt was held, it will be 4. If Ctrl and Alt were both held, it will be 6. |