Skip to content

MouseMove Event

Description

Occurs when the user moves the mouse.

Syntax

Public Event MouseMove( _
    ByVal [Button](#) As Integer, _
    ByVal [Shift](#) As Integer, _
    ByVal [x](#) As Long, _
    ByVal [y](#) As Long _
)

Parameters

  • Button
    An integer that corresponds to the state of the mouse buttons in which a bit is set if the button is down.

  • Shift
    An integer that corresponds to the state of the SHIFT, CTRL, and ALT keys. A bit is set if the key is down.

  • x
    A number that specifies the current x coordinate location of the mouse pointer.

  • y
    A number that specifies the current y coordinate location of the mouse pointer.

Remarks

The MouseMove event is generated continually as the mouse pointer moves across objects. Unless another object has captured the mouse, an object recognizes a MouseMove event whenever the mouse position is within its borders.

See Also

FlatEdit Control


See Also | Suite Pro Controls ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.