Altova Authentic 2024 Browser Edition

See also

 

Declaration: button as long

 

Description

Specifies which mouse button is pressed:

 


0

No button is pressed.


1

Left button is pressed.


2

Right button is pressed.


3

Left and right buttons are both pressed.


4

Middle button is pressed.


5

Left and middle buttons both are pressed.


6

Right and middle buttons are both pressed.


7

All three buttons are pressed.

 

The onbuttondown and onbuttonup events set the button value in different ways. The onbuttonup event just sets the value for the button which has been released and raised the up event regardless which buttons are also pressed at the moment.

 

© 2018-2024 Altova GmbH