Occurs when the user releases a mouse button.
Syntax
TXTextControl.MouseUp(Button, Shift, X, Y)
Parameters
| Parameter | Description |
|---|
| Button | Informs which button is pressed. Possible values are the following: |
| Shift | Informs about the state of the SHIFT, CTRL and ALT keys at the time of the event. It is the sum of one or more of the following values: |
| X,Y | Specifies the current location of the mouse pointer. The coordinates are relative to the upper-left corner of the Text Control. |
Button
| Value | Description |
|---|
| 1 | The left button is pressed. |
| 2 | The right button is pressed. |
| 4 | The middle button is pressed. |
Shift
| Value | Description |
|---|
| 1 | The SHIFT key was pressed at the time of the event. |
| 2 | The CTRL key was pressed at the time of the event. |
| 4 | The ALT key was pressed at the time of the event. |
Data Types
| Name | Data type |
|---|
| Button | Integer |
| Shift | Integer |
| X | Long |
| Y | Long |