Button.KeyPress

Syntax

ControlName_KeyPress( keyAscii)

Applies To

Button

Purpose

Occurs when the user presses a key while the control has the input focus. This event occurs after the Button.KeyDown event.

Parameters

keyAscii As Integer

[In/Out] Specifies the ASCII value of the pressed key.

See Also

Button.KeyDown

Button.KeyUp