DicomObjects Reference
DicomObjects Reference / DicomViewer Object / KeyUp Event
Scan code of key pressed
State of the Ctrl, Shift and Alt keys
KeyUp Event
Description
Fired on key up
Syntax
Visual Basic
Public Event KeyUp( _
   ByRef KeyCode As Integer, _
   ByVal Shift As Integer _
)
Parameters
KeyCode
Scan code of key pressed
Shift
State of the Ctrl, Shift and Alt keys
Remarks
These events are essentially Microsoft standard mouse events, except that the x and y positions are specified as long integers representing display pixels rather than OLE_PIXELS.  This avoids the transformations applied by some clients such as Visual Basic, guaranteeing that the values are compatible with DicomObject’s scrolling and drawing functions. 
Due to a bug in Visual Basic, DicomViewer controls placed on a VB form do not receive events related to pressing arrow keys.
See Also