• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Events > Button Events

Button Events

The Button event handler dictates what will happen when a certain event is evoked by the end user. Table 10.1 outlines the different Button events and how they are triggered.

Table 10.1. Button Events
BUTTON EVENTTRIGGER
PressThe cursor is over the hit area and the mouse button is pressed.
ReleaseThe cursor is over the hit area and the mouse button is pressed and released.
Release OutsideThe cursor is over the hit area and the mouse button is pressed and then released outside the hit area.
Roll OverThe cursor moves over the hit area.
Roll OutThe cursor moves away from and off the hit area.
Drag OverThe cursor is over the hit area and the mouse button is pressed. Then the cursor is moved off the hit area and back over the hit area while the button remains pressed.
Drag OutThe cursor is over the hit area and the mouse button is pressed. Then the cursor is moved off the hit area while the button remains pressed.
Key PressA specified key on the keyboard is pressed.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint