Step 1. Create a Variable to Hold the Selected Value

Because the variable needs to hold the same value and will be used in different objects on the screen, it will created at the screen level.

The screen designer:

  1. Opens the screen's Properties dialog box.

  2. Selects Variable.

  3. Adds a new variable.

The variable is:

 

Column

Entry

A

Variable

LIGHT

B

Public

Checked

Note: The designer will distribute the screen to other systems. Because variables are being used, the only configuration that will have to change will be the value assignments, where necessary.

C

Value

Point named TOGGLELIGHT.

More information

Example 1: Create and use variables.