Input Enabled

Parent Previous Next

Input Enabled

This property configures whether the input to the object is enabled in the application or not.


The user can configure whether the input 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 input will always be enabled.

.   False: The input will always be disabled.

.   Expression: Configures an expression that if it returns true the input will be enabled; if false, the input will be disabled.



To configure the field, follow the steps below:


1.   Click the desired object to select it.


2.   Click the "+" button in Properties.


3.   Select the desired value in the InputEnabled combo-box field.


3.1.   If the chosen value is "Expression", insert the desired tag (See the examples bellow).



Example:


In the Tags document, we have the tags:


.     InputEnable_Integer: It is an Integer Tag.

.     InputEnable_Boolean: It is a Boolean Tag.

.     InputEnable_Expression: It is an Integer Tag that it will be used in an expression.



Case1: The field InputEnable has the tag InputEnable_Integer configured.


.     If the tag InputEnable_Integer has the value zero (0) the input will be disabled.

.     If the tag InputEnable_Integer has the value one (1) the input will be enabled.

.     Any other value the input will be enabled.



Case2: The field IsEnable has the tag InputEnable_Boolean configured.


.     If the tag InputEnable_Boolean has the value zero (0) the input will be disabled.

.     If the tag InputEnable_Boolean has the value one (1) the input will be enabled.



Case3: The field IsEnable has the tag Enable_Expression configured with the expression Enable_Expression == 10.


.     If the tag InputEnable_Expression has the value ten (10) the input will be enabled.

.     Any other value the input will be disabled.



 

Note: This property only exists to the following objects:

.     Combo-Box