TXRulerBar.MouseUp Event

Occurs when the user releases a mouse button.

Syntax

TXRulerBar.MouseUp(Button, Shift, X, Y)
Parameter Description
Button

Informs which button is pressed. Possible values are the following:


Value Description
1 The left button is pressed.
2 The right button is pressed.
4 The middle button is pressed.
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:


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.
X,Y

Specifies the current location of the mouse pointer. The coordinates are relative to the upper-left corner of the ruler bar.

Data Types

Button:    Integer
Shift:    Integer
X:    Long
Y:    Long

See Also