KeyPress

Description

Indicates a key was pressed and released.

Syntax
Private Sub object_KeyPress KeyAscii

ParameterDescription
KeyAscii An Integer value specifying a standard numeric ANSI keycode.

Remarks

This event is called when the Player control has focus and a key is pressed.

This event is called only if SendKeyboardEvents is True.

See Also

KeyDown, KeyUp, SendKeyboardEvents

Return to Player Control Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.