# MouseUp

## Description

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.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm