MouseUp Event
Description
Occurs when a button on the mouse has been released anywhere on the GridControl.
Syntax
Public Event MouseUp( _
ByVal [Button](#) As Integer, _
ByVal [Shift](#) As Integer, _
ByVal [x](#) As Long, _
ByVal [y](#) As Long _
)
Parameters
-
Button
Code indicating which button on the mouse was pressed. -
Shift
Specifies whether the Shift, Ctrl, or ALT keys were pressed when the mouse button is released. -
x
X coordinate of the mouse pointer. -
y
Y coordinate of the mouse pointer.
Remarks
Below are the meanings of the mouse button codes:
| Button Value | Code |
|---|---|
| Left Mouse Button | 1 |
| Right Mouse Button | 2 |
Any combination of the Shift, Alt, and Ctrl keys can be used. The table below shows the possible values for the Shift parameter:
| Shift Parameter Value | Bit Mask |
|---|---|
| Shift | 1 |
| Ctrl | 2 |
| Shift + Ctrl | 3 |
| Alt | 4 |
| Alt + Shift | 5 |
| Alt + Ctrl | 6 |
| Shift + Alt + Ctrl | 7 |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.