Compartir a través de


OlkCommandButton.MouseUp Event (Outlook)

Occurs after the user releases a mouse button that has been pressed on the control.

Version Information

Version Added: Outlook 2007

Syntax

expression .MouseUp(Button, Shift, X, Y)

expression A variable that represents an OlkCommandButton object.

Parameters

Name

Required/Optional

Data Type

Description

Button

Required

Integer

An OlMouseButton constant that specifies which button on the mouse has been pressed.

Shift

Required

Integer

A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.

X

Required

[OLE_XPOS_CONTAINER]

Identifies the location of the mouse cursor on the X-axis relative to the form.

Y

Required

[OLE_YPOS_CONTAINER]

Identifies the location of the mouse cursor on the Y-axis relative to the form.

See Also

Concepts

OlkCommandButton Object

OlkCommandButton Object Members