Button: Integer;
The Button property returns code of the mouse button, with which any action was executed.
The property returns the following values:
-1 - event is not connected with mouse buttons.
0 – left mouse button.
1 – right mouse button.
2 – middle mouse button (wheel).
See also: