Launch Actions

Launch Actions provide the ability to open an Application window on the panel, based on either a button press or release, a gesture, or when a specific Page is either opened or closed. In TPD5, Launch Actions are Events that can be assigned to Pages or Buttons. Events are defined via the Events tab of the Properties window.

NOTE: In addition to Launch Actions, Page Flips and/or Actions (NetLinx commands and strings) can be assigned as Events to Pages and Buttons. See Working With Events for details.

Creating a Launch Action Event on a Button

  1. In the Design View, select a button to populate the Properties window with the selected button's properties. Note that Events (including Launch Actions) can also be applied to Pages.
  2. In the Events tab, click on the Event that you want to use to trigger this Launch Action. For example, select the Button Press

event (FIG. 336):

FIG. 336 Button Press (Event) Property

A button press event will cause the Launch Action to occur when the User presses the selected button.

  1. Click the Browse (...) button to open the Edit Event Actions dialog (FIG. 337):
  2. In the Edit Event Actions dialog, click on Add Launch Action to select from a listing of available Launch Action types (for example show):

FIG. 337 Edit Event Actions dialog - Add Launch Action drop-down menu

NOTE: As it's name implies, a "show" launch action will show an Application window when the User presses the button on the panel. The other launch action type options are also self-explanatory and provide the ability to close Application windows, or show/hide Application status information.

  1. This adds show as an Action: select the target Application window from the drop-down list of all Application windows in the project, for example Dropbox (FIG. 338).

FIG. 338 Button Press (Event) Property

In this example, when the User presses the button configured here, the AccuWeather Quick Application window will open on the panel.

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

results matching ""

    No results matching ""