Dart CertificateList Control and Objects
KeyDown Event
Virtual key code for the key pressed.
Corresponds to the state of the SHIFT, CTRL, and ALT keys when the event fires.
Description
Fires when the user presses a key while the control has focus.
Syntax
Visual Basic
Public Event KeyDown( _
   ByVal KeyCode As Integer, _
   ByVal Shift As Integer _
)
Parameters
KeyCode
Virtual key code for the key pressed.
Shift
Corresponds to the state of the SHIFT, CTRL, and ALT keys when the event fires.
Remarks

The Shift parameter is a bit field with the least-significant bits corresponding to the SHIFT key (bit 0), the CTRL key (bit 1), and the ALT key (bit 2). The number of bits that can be set depends on which keys are pressed.

One or more of the following values are added together to represent Shift combinations (for example, if both SHIFT and CTRL are pressed, Shift is 3):

Constant Setting Description
vbShiftMask 1 SHIFT key bit mask
vbCtrlMask 2 CTRL key bit mask
vbAltMask 4 ALT key bit mask
See Also

CertificateList Object  | CertificateList Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic