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.
-
-
To create a True/False variable, click the Variables tab.
-
Click + to add a variable.
-
Select True/False as the data type.
-
Type a descriptive name in the Name box.
-
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.
-
- Click Apply to save the variable.
-
Assign the variable to the Disabled property. Below Disabled, click Select Variable.
-
Select the True/False variable.
-
To test your work, click Preview.