OnKeyPress

Top  Previous  Next

 

OnKeyPress (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

Is the object that raises the event

e.KeyAscii

Short

Is the ASCII key code

 

Example