Disabled property

All components are enabled by default. The Disabled property binds a True/False variable to a component, to disable or enable it based on the runtime value of the variable.

    1. To create a True/False variable, click the Variables tab.

    2. Click + to add a variable.

      Figure shows button that adds a new variable.

    3. Select True/False as the data type.

      Figure shows variable data types

    4. Type a descriptive name in the Name box.

      currently-enabled-variable

    5. Set Default Value to True or False.

      • If the variable is True, the component is disabled.

      • If the variable is False, the component is enabled.

    6. Click Apply to save the variable.
    7. Assign the variable to the Disabled property. Below Disabled, click Select Variable.

      disabled-property-setting

    8. Select the True/False variable.

      currently-enabled-variable-selected

To test your work, click Preview.