IsEnabled
This property configures if the object is enabled in the application or not.
The user can configure whether the object is always enabled, always disabled or is going to depend on the result of an expression.
The possible values for the field are:
. True: The object will always enabled.
. False: The object will always disabled.
. Expression: Configures an expression that if it returns true the object will be enabled; if false, the object will be disabled.
To configure the field, follow the steps below:
1. Click the desired object to select it.
2. Select the desired value in the IsEnabled combo-box field.
2.1. If the chosen value is "Expression", insert the desired tag (See the examples bellow).
Example:
In the
Tags document we have the tags:
. Enable_Integer: It is an Integer Tag.
. Enable_Boolean: It is a Boolean Tag.
. Enable_Expression: It is an Integer Tag that it will be used in an expression.
Case1: The field IsEnable has the tag Enable_Integer configured.
. If the tag Enable_Integer has the value zero (0) the object will be disabled.
. If the tag Enable_Integer has the value one (1) the object will be enabled.
. Any other value the object will be enabled.
Case2: The field IsEnable has the tag Enable_Boolean configured.
. If the tag Enable_Boolean has the value zero (0) the object will be disabled.
. If the tag Enable_Boolean has the value one (1) the object will be enabled.
Case3: The field IsEnable has the tag Enable_Expression configured with the expression Enable_Expression == 10.
. If the tag Enable_Expression has the value ten (10) the object will be enabled.
. Any other value the object will be disabled.