CallbackKeyDown Event

       

Occurs when a key is pressed while the cursor is inside a callback field.

Syntax

Private Sub object_CallbackKeyDown([index As Integer], KeyCode As Integer, Shift As Integer, CallbackField As String, CallbackDate As Date)

The CallbackKeyDown event syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Index An integer that uniquely identifies a control if it's in a control array.
KeyCode A numeric expression that specifies the ASCII key code of the key that was pressed.
Shift A numeric expression that specifies the state of the SHIFT, CTRL and ALT keys at the time of the event.
CallbackField A string expression specifying the callback substring.
CallbackDate A date expression specifying the date value of the control.

Remarks

The CallbackKeyDown event is a variation on the KeyDown event, and can be used to process a callback substring.

See CustomFormat Property for more information on callback processing.

The event also occurs when the user presses the up and down arrow keys