Purpose

.Visible allows you to specify whether certain objects are visible or not.
 

Syntax

Setting:         ObjectReference.Visible = Value  

Retrieving:    Variable = ObjectReference.Visible
 

Operation

ObjectReference is the Tag Name of the object
Value
is the setting for the visible property (TRUE or 1 = visible, FALSE or 0 = invisible)
Variable
is a numeric variable

 

Remarks

When the .Visible property value of an object is set to FALSE, it is skipped by the Timing Cycle.  No logic is performed, giving the same behaviour as if the field had been skipped by using a FLD statement.

There are restrictions when Visible is applied to the Cycle object

The use of the Enable and Visible commands on a Dynamic object affects the behaviour of the Timing Cycle.

Do not use the WIDGET_MANIPULATE facility.
 

Example

To hide a radio and label (tagname = VisaButton):

CREDITCARDGROUP.BUTTON("VisaButton").VISIBLE = FALSE


To set the fields and format for a cycle (tagname = CustomerAddressLS) to be hidden upon exit of a cycle (this must be used in Cycle Exit logic).

CustomerAddressLS.Visible = FALSE
 

Comment on this topic

Topic ID: 510097