Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 1.27 KB

Outlook.OlkCheckBox.KeyPress.md

File metadata and controls

57 lines (30 loc) · 1.27 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OlkCheckBox.KeyPress event (Outlook)
vbaol11.chm1000157
vbaol11.chm1000157
Outlook.OlkCheckBox.KeyPress
aae8dbfc-d85c-a977-8543-602ff18518fd
06/08/2017
medium

OlkCheckBox.KeyPress event (Outlook)

Occurs when the user presses an ANSI key.

Syntax

expression. KeyPress( _KeyAscii_ )

expression A variable that represents an OlkCheckBox object.

Parameters

Name Required/Optional Data type Description
KeyAscii Required Long The numerical value of the key pressed.

Remarks

An ANSI key is one that produces a typeable character when the user presses it. The KeyPress event occurs when the user presses an ANSI key on a running form while the form or a control on it has the focus. The event can occur either before or after the key is released.

A KeyPress event does not occur under the following conditions:

  • Pressing TAB

  • Pressing ENTER

  • Pressing an arrow key

  • When a keystroke causes the focus to move from one control to another.

See also

OlkCheckBox Object

[!includeSupport and feedback]