Using the Graphics Editor SECTION 2 Basic Tutorial
17
2. Double-click on the newly-created Toggle button to open the Toggle
Button Wizard dialog box.
3. To link the toggle operation to our new point, click the Browse button. The
Select Required Item dialog opens.
4. Select the new point 'GO', and click the OK button.
5. Click the OK button on the Toggle Button Wizard dialog box.
2-5-3 Animation
This simple traffic signal has only two states, 'STOP' and 'GO'. If the signal is
'STOP', then the red light must illuminate. If the signal is 'GO' the green light
must illuminate. The Animation Editor is the key to defining how an object is
animated depending on point values. To configure the animations:
1, 2, 3… 1. For simplicity, select the object that represents the Green light.
2. From the toolbar, click the button.
There are a number of actions available for each particular object. With
suitable configuration, each of these actions may be applied to each
object; for example, the green light can be given the following actions:
• Blink.
• Close Page.
• Colour Change, etc.
3. Double-click the left mouse button and select Colour Change (Digital).
By selecting this animation, the colour of the Green light (an ellipse) is to
be changed according to the value of some Boolean (digital) variable or
expression. The Colour Change dialog box opens: