KeyPressControl Event

See Also     Examples     Applies To

Occurs when a key is pressed while the control has focus.

Syntax

Sub object_KeyPressControl (KeyAscii)

The KeyPressControl syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
KeyAscii Required. Integer.

Remarks

Key events occur in the following order:
1.
KeyDownControl
2.
KeyPressControl
3.
KeyUpControl
The KeyPressControl event is not raised by noncharacter keys; however, the noncharacter
keys do raise the KeyDownControl and KeyUpControl events.






© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.