# MouseUp

These events are generated to indicate that the right mouse button is released. The `ContextMenu` property must be set to `FALSE` before the file is opened for these events to be generated. Users can combine `MouseUp` and `ContextMenu` to disable KeyView's context menu and implement their own.

For more information about `ContextMenu`, see ContextMenu.

## Syntax

    MouseUp(Button, Shift, X, Y)

## Parameters

Parameter | Type | Description
--- | --- | ---
`Button` | Short | This parameter should always be set to `2`.
`Shift` | Short | This parameter should always be set to `0`.
`X` | Long | The x-coordinate of the cursor when a mouse button was released. The coordinate is relative to the upper-left corner of the control window.
`Y` | Long | The y-coordinate of a cursor when a mouse button was released. The coordinate is relative to the upper-left corner of the control window.

_FT_HTML5_bannerTitle.htm