KeyDown event
      
 

Description

Occurs when the user presses a key while an object has the focus.

Syntax

Private Sub object_KeyDown(KeyCode As Integer, Shift As Integer)