Skip to content

MouseMove Event

Description

Occurs when the mouse cursor is moved over any part of the TabControl.

Syntax

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

Parameters

  • Button: Button of the mouse that is currently pressed, if any.
  • Shift: Specifies whether the Shift, Ctrl, or ALT keys are currently pressed.
  • x: Current x coordinate of the mouse cursor.
  • y: Current y coordinate of the mouse cursor.

Remarks

The HitTest method can be used to determine which TabControlItem, if any, the mouse cursor is currently positioned over by using the x and y parameters of the MouseMove event.

See Also


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