Button.MouseMove

Syntax

ControlName_MouseMove( btn, shift, x, y)

Applies To

Button

Purpose

Occurs when the user moves the mouse over the control.

Parameters

btn As Integer

[In] Specifies what mouse buttons are pressed. You can use any combination of the MouseButtons constants.

shift As Integer

[In] Specifies a combination of the KeyModifiers constants that specifies the state of the <Shift>, <Ctrl>, and <Alt> keys.

x As long

[In] Specifies the x-coordinate of the mouse pointer, relative to the control, at the moment when the event occurs.

y As long

[In] Specifies the y-coordinate of the mouse pointer, relative to the control, at the moment when the event occurs.

See Also

Button.Click

Button.MouseDown

Button.MouseUp

KeyModifiers

MouseButtons