Button: Integer;
The Button property returns code of the mouse button with which any action as performed.
This 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: