OnKeyPress
EventOnKeyPress (Event)
Occurs when the user presses and releases a key from the keyboard when AVAX has the focus
Syntax:
Private Sub object_OnKeyPress(Sender As System.Object, e As KeyPressEventArgs)
The OnKeyPress event syntax has the following parts:
Argument |
Data Type |
Description |
Sender |
System.Object |
The object that raises the event |
e.KeyAscii |
Short |
The ASCII key code |