Even though the button is now animated, the screen must clearly display when the lights are on or off.
The screen designer:
Inserts a rectangle object in the reservoir group.
Opens the rectangle object's Properties dialog box.
Enters expressions that use the variable {LIGHT} to apply color animation to the rectangle.
A |
{LIGHT} EQ 1 |
Turns the lights on. |
B |
{LIGHT} EQ 0 |
Turns the lights off. |
Example 1: Create and use variables. |