Assigning Events to Pages or Buttons

Events can be assigned to Pages or (General or Multi-State General) Buttons:

  1. Select a Page or Button (General or Multi-State General) in the Workspace window or Design View window.
  2. In the Properties window, open the Events tab (FIG. 370):

Events tab, with a Page selected

Events tab, with a Button (General or Multi-State General) selected

FIG. 370 Properties window - Events tab

If a Page is selected, then the following Page-specific Events are indicated in this tab:

    • Show Page: The event will occur when the specified Page is shown.
    • Hide Page: The event will occur when the specified Page is hidden.
    • Gestures (Any, Gesture Up/Down, Gesture Right/Left, Dbl tap, 2-Finger Up/Dn, Gesture 2-Finger Rt/Lt): The event will be triggered by the selected Gesture.

If a General or Multi-State General Button is selected, then the following Button-specific Events are indicated in this tab:

    • Button Press: The event will occur when the specified Button is pressed.
    • Button Release: The event will occur when the specified Button is released.
    • Gestures (Any, Gesture Up/Down, Gesture Right/Left, Dbl tap, 2-Finger Up/Dn, Gesture 2-Finger Rt/Lt): The event will be triggered by the selected Gesture when performed on the selected Page or Button.
  • Click to select any Event in this tab, and click the browse (...) button to edit the Event Actions for the selection, via the Edit Event Actions dialog (FIG. 371):

FIG. 371 Accessing the Edit Event Actions dialog

  1. In the Edit Event Actions dialog, add and edit the event actions included in this Event. Event actions include Page Flips, Launch Actions or Actions. Note that each Event is essentially an Action List - an ordered list containing one or more of the supported actions.

Any of the supported actions can be added to an action list in any order.

Re-Ordering Event Actions

Event actions are triggered in the order in which they appear in the Edit Event Actions dialog. By default, event actions are listed in the order in which they were added.

To re-order the event actions, select an event action and use the Move Up and Move Down button to adjust it's position in the ordered list.

Deleting Event Actions

Select an event action and click Delete to delete that event action from the list.

Clearing All Event Actions from an Event

Click Clear All to remove all event actions from the list.

  1. Click OK to save changes and close the Edit Event Actions dialog.

results matching ""

    No results matching ""