3.5.2 Exercise

This section gives an illustrative example of changing the page properties. Settings may differ depending on your project’s configuration.

Exercise: Open a Pop-up screen when a normal page is opened

By defining a page action, you can bring up a pop-up screen automatically when a normal page is opened.

a) Create a normal page and a popup page. Specify the name of the popup page as ‘Popup’ and edit it as shown below.

b) Go to the normal page and open the page setup menu, then move to the [Action] tab. Enter ‘PageOpen(“Popup”)’ in the ‘On Opening Page’ field.

c) Make sure the normal page is set as the starting page, then launch the project in Xpanel. A popup message will appear when the main screen launches.