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.

Launch Action Types

With a Page or Button selected in a Design View window, select an event in the Properties window (Events tab) to open the Edit Event Actions dialog. Click the Add Launch Action command button to access the Launch Action Types drop-down list, which allows you to select from a list of launch actions (FIG. 383):

FIG. 383 Launch Action Types drop-down list

Launch Actions allow you to show/hide Application windows based on a Page or Button Event.

    • Show - This selection displays a drop-down menu listing the Application windows in your project. Select a target Application window for the launch action to open.
    • Close - This selection displays a drop-down menu listing the Application windows in your project. Select a target Application window for the launch action to close.
    • Close All - This selection closes all open Application windows.
    • Show Status - This selection displays Application Status information on the panel.
    • Hide Status - This selection hides Application Status information on the panel.

Adding a Launch Action to a Page or Button

Launch Actions allow you to launch an Application window based on an Event associated with a Page or Button (General and Multi- State General only). In TPD5, Launch Actions are managed as Events that can be assigned to Pages or Buttons. Events are defined via the Events tab of the Properties window:

  1. Select the Page or Button to which you will assign the Launch Action in the Workspace window or Design View.
  2. In the Events tab of the Properties window, select the Event to which you will assign the Launch Action.
  3. Click the browse (...) button to open the Edit Event Actions dialog.
  4. Click Add Launch Action and select a launch action type from the drop-down menu (FIG. 384):

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

This adds a Launch Action to the Actions list.

  1. Under Description, select an Application for this Launch Action from a drop-down menu of all Application windows in this project (FIG. 385):

FIG. 385 Edit Event Actions dialog - Application added

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

results matching ""

    No results matching ""