WebControl.MouseMove

From Xojo Documentation

Revision as of 15:50, 11 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Event


WebControl.MouseMove(X As Integer, Y As Integer, Details As Realbasic.MouseEvent)

New in 2011r2

Supported for all project types and targets.

The mouse has moved within the control to the coordinates passed. The coordinates are local to the control, not to the WebPage. Details contains information about the mouse button and locations.

Notes

Use this event handler judiciously as it can result in excessive messages sent between the client browser and the server application.

Examples

This example displays the mouse coordinates in a WebLabel as the mouse moves around within the label:

Me.Text = "X: " + Str(X) + " Y: " + Str(Y)