CheckBox.KeyDown

Syntax

ControlName_KeyDown( keyCode, shift)

Applies To

CheckBox

Purpose

Occurs when the user presses a key while the control has the input focus. This event occurs before the CheckBox.KeyPress event.

Parameters

keyCode As Integer

[In/Out] Specifies the KeyCodes constant of the key the user pressed.

shift As Integer

[In] Specifies a combination of the KeyModifiers constants that specifies the state of the <Shift>, <Ctrl>, and <Alt> keys.

See Also

CheckBox.KeyPress

CheckBox.KeyUp

KeyCodes

KeyModifiers