Description

Gets or sets the event handler that is called when the mouse pointer is moved over the control.

Syntax

object.OnMouseMove [ = String ]

Event Data

The System.Sender property contains the object that raised the event. The System.EventArgs property receives a value of type EventArgs containing data related to this event. The following EventArgs properties provide information specific to this event.

Property Description
Button Gets which mouse button was pressed.
X Gets the x-coordinate of a mouse click.
Y Gets the y-coordinate of a mouse click.

Example

$Form.OnMouseMove = "Form_MouseMove()" Function Form_MouseMove() $e = $System.EventArgs ? "x=" + $e.x EndFunction




The CHM file was converted to HTML by chm2web software.