TX Text Control ActiveX

MouseMove Event

Event

Occurs when the user moves the mouse.

Syntax

TXRulerBar.MouseMove(Button, Shift, X, Y)

Parameters

ParameterDescription
ButtonInforms about the state of the mouse buttons at the time of the event. It is the sum of one or more of the following values:
ShiftInforms 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,YSpecifies the current location of the mouse pointer. The coordinates are relative to the upper-left corner of the ruler bar.

Button

ValueDescription
1The left button is pressed.
2The right button is pressed.
4The middle button is pressed.

Shift

ValueDescription
1The SHIFT key was pressed at the time of the event.
2The CTRL key was pressed at the time of the event.
4The ALT key was pressed at the time of the event.

Data Types

NameData type
ButtonInteger
ShiftInteger
XLong
YLong

See Also