Button Event Name |
Button Event Occurs When . . . |
press |
Primary mouse button is depressed while pointer is in the
button's hit area. Other mouse buttons are
not detectable. |
release |
Primary mouse button is depressed and then released while pointer is
in the button's hit area. |
releaseOutside |
Primary mouse button is depressed while pointer is in the
button's hit area and then released while
pointer is outside of the hit area. |
rollOver |
Mouse pointer moves into the button's hit
area without the mouse button depressed. |
rollOut |
Mouse pointer moves out of the button's
hit area without the mouse button depressed. |
dragOut |
Primary mouse button is depressed while pointer is in the
button's hit area, and then, while mouse
button is still depressed, pointer is moved out of the
hit area. |
dragOver |
Primary mouse button is depressed while pointer is in the
button's hit area, and then, while mouse
button is still depressed, pointer is moved out of, then back into,
the button's hit area. |
keyPress |
Specified key is depressed. In most cases,
the keyDown clip event is preferred over the
keyPress button event. |