Choosing a user event
A user event is something the user does with the mouse. You can think of a user event as “the way the end user interacts with an object.” The types of user events available for the various object types are shown in the following table.
USER EVENT |
INITIATES ACTION WHEN |
---|---|
Click down |
The end user clicks the object. |
Click up |
The end user releases the mouse button after clicking the object and the mouse cursor is still above the clicked object. |
Double-click |
The end user double-clicks the object. |
Mouse enter |
The mouse pointer moves over the object. |
Mouse exit |
The mouse pointer moves off the object. |
Click down off |
The end user clicks an On/Off button that is in the Off state. |
Click up on |
The end user releases the mouse button after clicking an On/Off button that was in the Off state. |
Click down on |
The end user clicks an On/Off button that is in the On state. |
Click up off |
The end user releases the mouse button after clicking an On/Off button that was in the On state. |
Window open |
The window object opens. |
Window close |
The window object closes. |