Retargeting Navigation Example
In this example, we have two projects that we will setup to retarget to each other.
- On a blank window, add a Button component, and either change the button text or add a label that informs the user that the button retargets to a new project.
Right click on the Button and select the Scripting option. On the actionPerformed event, add this script to the script builder, and click OK.
The script below was added to the button in the Tank project. A similar script was also added to the Motor project.
This can be repeated with more buttons and scripts that lead to other projects. Save your projects.
Open the Client, and use the retargeting feature to navigate between two different projects. Press the Retarget buttons to navigate between the Tank project and Motor project.