MouseUp

<< Click to Display Table of Contents >>

 

MouseUp

MouseUp(Button, ShiftState, MouseX, MouseY)

This event occurs when any previously clicked mouse button is released on an object. Use this event to specify actions to perform only when releasing the mouse button.

Parameters of the MouseUp event

Parameter

Description

Button

Displays the pressed mouse button. Possible values for this parameter are 1: Mouse left button pressed, 2: Mouse right button pressed, or 4: Mouse middle button pressed

ShiftState

Displays the pressed key along with the mouse button. Possible values for this parameter are 4: SHIFT key, 8: CTRL key, or 12: CTRL + SHIFT keys

MouseX

Displays the horizontal coordinate where the mouse button was clicked

MouseY

Displays the vertical coordinate where the mouse button was clicked

Was this page useful?