Refining the Project SECTION 2 Basic Tutorial it is 'STOP' that is, State 0, the Green light (dark-green or grey) indicates that the bulb is not illuminated. The colours can be changed by clicking on the colour preview box, and using the Colour Palette dialog which subsequently appears to choose the appropriate colour tones. The dialog box should now look like this: 8. Click the OK button. The animation of the green light has now been defined. Test the application to ensure that the light is operating correctly. Although the Red light could also be animated at this stage, it is probably worth performing a runtime test on the tutor application just to see how it operates.
2-5-4 Testing the Project Now the project can be tested in the runtime environment. 1, 2, 3… 1. Click the Run button from the toolbar. CX-Supervisor first saves the current project and asks for confirmation to save the latest changes to "tutor.pag". Click the Yes button. 2. If this is the first time the page is saved, you are prompted to add it to the Project: select "Yes". 3. As there are no other pages to display, you are prompted to Display the page on Startup , select "Yes". 4. If you are prompted to save the project "Tutor.SCS", select "Yes". 5. The runtime system starts with the page just created shown inside a frame window. 6.
Click the Toggle button and observe the button change state. The Green light should change colour. When the button is clicked again, the Green light reverts to its previous colour. Repeat this test a few more times to observe the application in action. Notice that it really doesn't matter how quickly or slowly the button is selected; the light can always keep up with the changes. Check the colour of the Green light. Is it changing correctly between the two states? If not, check the colour definitions in the development environment. 2-6 Refining the Project Any problems can be rectified by refining the project and re-running the application. 1, 2, 3… 1. Exit the Runtime environment.
From the Control menu, select Close , or Right Click and select Exit . 18