MouseMoved Event (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

This event allows you to track mouse movements and occurs when the mouse is moved in a View.

Usage

Sub Application_MouseMoved(ByVal Flags As Long, ByVal X As Long, ByVal Y As Long)

Arguments

Flags

Indicates whether or not various virtual keys are active. This parameter can be any combination of the following values:

  • 1 - Set if the left mouse button is down.

  • 2 - Set if the right mouse button is down.

  • 4 - Set if the SHIFT key is down.

  • 8 - Set if the CTRL key is down

  • 16 - Set if the middle mouse button is down

X

X coordinate of the mouse position. This value is expressed in the application coordinate system.

Y

Y coordinate of the mouse position. This value is expressed in the application coordinate system.