Disable objects
- Last UpdatedMar 17, 2025
- 2 minute read
You can impose a level of security on your application with disable links. For example, you can disable touch sensitive objects based on operator access level or name. Or you can secure a button from tampering if no one is logged on.
A disabled state of ON means the touch functionality of the object or button is turned off and is not active as long as the expression is true.
Tip:Discrete expressions can contain analog tagnames. For example, TankLevel >= 75. In this example, when the value of the variable "TankLevel" is greater than or equal to 75, the object is disabled.
Create a disable link
-
Select the object you want to apply the animation to.
-
On the Draw menu, in the Mode group, select Animate.
Alternatively, right-click the object and then select Animation Links.
The Animation Links window appears.
-
In the Miscellaneous section, select Disable.
The Object Disabled -> Discrete Value dialog box appears.

-
In the Expression box, type the name of a discrete tag or expression that equates to a discrete value.
-
In the Disabled State section, do one of the following:
-
Select On to set the disabled state so that the object does not activate while the discrete tag or expression is true.
-
Select Off to remove the disabled state and enable the object to function while the discrete tag or expression is true.
-
-
Select OK.