From Xojo Documentation


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

New in 2011r2

Supported for all project types and targets.

The mouse button has been released inside the WebPage and passed into x, y (pixels). To determine which button was released, test the passed Details parameter against the MouseEvent class constants.

Sample Code

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

Select Case details.Button
Case details.LeftMouseButton
MsgBox("Left button")
Case details.RightMouseButton
MsgBox("Right button")
Case details.OtherMouseButton
MsgBox("Other button")
End Select