ImageMan ActiveX Control Version 8
MouseUp Event
See Also  Send comments on this topic.
Button

Identifies which button was pressed. The Button argument is a bit field with bits corresponding to the left button (bit 0), right button (bit 1), and the middle button (bit 2) - values 1,2,4, respectively. Only one bit will be set, indicating which button caused the event.

Shift

Shift expresses the state of the Shift and Ctrl keys when the button was pressed. The Shift argument is a bit field with bits corresponding to the SHIFT key(bit 0), and the CTRL Key(bit 1) - values 1,2 respectively. One or both of the bits can be set indicating that one or both of the keys was pressed.

X
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.
Y
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.

Glossary Item Box

Description

Occurs when the user releases a mouse button

Syntax

Visual Basic
Public Event MouseUp( _
   ByVal Button As Integer, _
   ByVal Shift As Integer, _
   ByVal X As Single, _
   ByVal Y As Single _
)

Parameters

Button

Identifies which button was pressed. The Button argument is a bit field with bits corresponding to the left button (bit 0), right button (bit 1), and the middle button (bit 2) - values 1,2,4, respectively. Only one bit will be set, indicating which button caused the event.

Shift

Shift expresses the state of the Shift and Ctrl keys when the button was pressed. The Shift argument is a bit field with bits corresponding to the SHIFT key(bit 0), and the CTRL Key(bit 1) - values 1,2 respectively. One or both of the bits can be set indicating that one or both of the keys was pressed.

X
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.
Y
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.

Remarks

If the Select property is set to TRUE(-1) then no MouseDown, MouseMove or MouseUp events will be generated for the left mouse button.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.