WebControl.MouseDown

From Xojo Documentation

Event


WebControl.MouseDown(X as Integer, Y as Integer, Details as Realbasic.MouseEvent)

New in 2011r2

Supported for all project types and targets.

A mouse button was pressed at the point (pixels) passed in X and Y (local to the control). Details contains information about which button was pressed.

Example

To determine which mouse button was pressed, use a Select statement such as the following:

Select Case details.Button
Case details.LeftMouseButton
MessageBox("Left button")
Case details.rightMouseButton
MessageBox("Right button")
Case details.OtherMouseButton
MessageBox("Other button")
End Select