Raised when the user presses a key.
SyntaxVB6
Copy Code
|
|---|
Public Event KeyPress |
Event DataParameter | Type | Description |
|---|---|---|
keyAscii | [input] long | The ASCII code of the pressed key. |
Dispatch ID: 66
RemarksRaised when the user presses a key. The event corresponds to the WM_CHAR Windows message, and is actually triggered by it.
See Also