TXTextControl.TXTextControl.MouseMove Event

Occurs when the user moves the mouse.

Syntax

TXTextControl.MouseMove(Button, Shift, X, Y)
Parameter Description
Button

Informs 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:


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 Text Control.

Data Types

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

See Also