Share via


OlkTimeZoneControl.KeyDown Event (Outlook)

Occurs when a user presses a key.

Version Information

Version Added: Outlook 2007

Syntax

expression .KeyDown(KeyCode, Shift)

expression A variable that represents an OlkTimeZoneControl object.

Parameters

Name

Required/Optional

Data Type

Description

KeyCode

Required

Long

The numerical value of the key pressed.

Shift

Required

OlShiftState

A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.

Remarks

The state of the modifier keys (SHIFT, CTRL, or ALT) that are pressed during the KeyDown event is accessible through the Shift parameter.

See Also

Concepts

OlkTimeZoneControl Object

OlkTimeZoneControl Object Members