MouseEvent.Button

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aMouseEvent.Button

New in 2011r2

Supported for all project types and targets.

The mouse button that was pressed.


Constants

The class constants to use are the following:

Constant Value
NoMouseButton 0
LeftMouseButton 1
OtherMouseButton 3
RightMouseButton 2