Is Visible

Parent Previous Next

Is Visible

This property configures if the object is visible in the application or not.


The user can configure whether the object is always visible, always invisible or is going to depend on the result of an expression.


The possible values for the field are:


.   True: The object will always visible.

.   False: The object will always invisible.

.   Expression: Configures an expression that if it returns true the object will be visible, if false, the object will be invisible.



To configure the field, follow the steps below:


1.   Click the desired object to select it.


2.   Select the desired value in the IsVisible 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:


.     Visible_Integer: It is an Integer Tag.

.     Visible_Boolean: It is a Boolean Tag.

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



Case1: The field IsVisible has the tag Visible_Integer configured.


.     If the tag Visible_Integer has the value zero (0) the object will be invisible.

.     If the tag Visible_Integer has the value one (1) the object will be visible.

.      Any other value the object will be visible.



Case2: The field IsVisible has the tag Visible_Boolean configured.


.     If the tag Visible_Boolean has the value zero (0) the object will be invisible.

.     If the tag Visible_Boolean has the value one (1) the object will be visible.



Case3: The field IsVisible has the tag Visible_Expression configured with the expression Visible_Expression == 10.


.     If the tag Visible_Expression has the value ten (10) the object will be visible.

.     Any other value the object will be invisible.