This section gives an illustrative example of using a page link object. Settings may differ depending on your project’s configuration. |
---|
Exercise: Changing the screen
...
shown by a PageLink object
a) Create an analog tag named ‘SCREEN’ and specify its initial value as 1. Set the minimum and maximum values to 1 and 3, respectively.
...
f) Click [Draw] – [Pagelink] to configure a page link object in the main screen. Select ‘Specify by Tag Values’ for the page control option, then choose ‘Popup Page’ as the page type. Choose ‘SCREEN’ as the page select tag.
...
g) Create left and right touch objects which change the value of the ‘SCREEN’ tag. Assign command expressions as shown in the table below.
Function | Touch | |
Action | Command expression | |
Command | SCREEN = SCREEN – 1; | |
Function | Touch | |
Action | Command expression | |
Command | SCREEN = SCREEN + 1; |
...