Page Flips
Page Flips provide the ability to "flip" to a different page 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, page flips are Events that can be assigned to Pages or Buttons. Events are defined via the Events tab of the Properties window.
Page flip actions replace the G4 button page-flip property in TPDesign4.
NOTE: In addition to Page Flips, Launch Actions and/or Actions (NetLinx commands and strings) can be assigned as Events to Pages and Buttons. See Working With Events for details.
Page Flip Types
Click the Add Page Flip command button to access the Page Flip Types drop-down list, which allows you to select from a list of page flip types (see FIG. 380 on page 270):
Standard Page
This selection displays a drop-down menu in the Description column listing the standard pages in your project - select a target page for this page flip (FIG. 372):
FIG. 372 Standard Page Flip - Pages list
Previous Page
This selection sets the page flip to go to the previous page (relative to the order of existing page flips) when this page flip is triggered.
Show Popup
This selection populates the Description column with a drop-down list of popup pages in your project - select a target popup page to show when this page flip is triggered (FIG. 373).
FIG. 373 Show Popup Page Flip - Popup Pages list
Hide Popup
This selection populates the Description column with a drop-down list of popup pages in your project - select a target popup page to hide when this page flip is triggered (FIG. 374):
FIG. 374 Hide Popup Page Flip - Popup Pages list
Toggle Popup
This selection populates the Description column with a drop-down list of popup pages in your project. Select a target popup page to toggle hide/show when this page flip is triggered (FIG. 375):
FIG. 375 Toggle Popup Page Flip - Popup Pages list
Hide Popup Group
This selection populates the Description column with a drop-down list of popup page groups in your project. Select a target popup page group to hide when the event is triggered (FIG. 376):
FIG. 376 Hide Popup Group Page Flip - Popup Groups list
Hide Popups On Page
This selection populates the Description column with a drop-down list of standard pages in your project. Select the page that you want to hide the Popups on when the event is triggered (FIG. 377):
FIG. 377 Hide Popups On Page Flip - Popup Pages list
Hide All Popups
This selection sets the page flip to clear all popup pages when the event is triggered.
NOTE: Multiple Popup actions like Toggle popup, Show Popup and Hide Popup for the same Popup Page are allowed on the same button.
Standard Animated
This selection populates the Description column with a drop-down list of standard pages in your project - select a target page for this page flip (FIG. 378):
Page Flip Animation options only apply to specific animation types (i.e. Slide, Door Fade).
FIG. 378 Hide Popups On Page Flip - Popup Pages list
Depending on the animation type selected, the Page Flip Animations options may be enabled. Use these options to set the Origin and/or Duration for this page flip.
Previous Animated
This selection sets the page flip to go to the previous page (relative to the order of existing page flips) when this page flip is triggered, and displays the Action drop-down menu - select a page flip animation to use for this page flip.
Password-Protected
This option provides the option of requiring the end-user to provide a valid password in order to flip to a specified page. This selection populates the Description column with a drop-down list of standard pages in your project (FIG. 379):
FIG. 379 Hide Popups On Page Flip - Popup Pages list
This selection adds a second drop-down menu to select which of the four panels passwords will be required to flip to the specified target page.
NOTE: Passwords 1-4 are set on the touch panel via the Settings > G5 Settings page. Refer to the X Series G5 Touch Panels Conf iguration and Programming Instruction Manual for details.
Adding a Page Flip to a Button
In TPD5, Page Flips are managed as Events that can be assigned to General and Multi-State General buttons. Events are defined via the Events tab of the Properties window:
- Select the Button to which you will assign the Page Flip action in the Design View.
- In the Events tab of the Properties window, select the Event to which you will assign the Page Flip. Page Flips can be assigned to any Event, but in this example it will be triggered by a Button Press.
- Click the browse (...) button to open the Edit Event Actions dialog.
- Click Add Page Flip and select a page flip type from the Add Page Flip drop-down menu (FIG. 380):
FIG. 380 Add Page Flip drop-down menu
Note that the options in the Add Page Flip menu are enabled/disabled based on the active Project. For example, the "popup" and "popup group" related options are disabled if the Project does not have any Popup Pages or Popup Groups.
- The selected type of Page Flip is added to the Action column - in this example, a Standard page flip (FIG. 381):
FIG. 381 Edit Event Actions dialog indicating a Standard page flip
- Under Description, select the target for this Page Flip from a drop-down menu of all pages in this project (FIG. 382):
FIG. 382 Standard Page Flip drop-down menu
- Click OK to save changes and close the Edit Event Actions dialog.