Purpose

.Enable allows you to specify whether certain objects will be displayed as active.
 

Syntax

Setting:         ObjectReference.Enable = Value  

Retrieving:    Variable = ObjectReference.Enable
 

Operation

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

 

Remarks

If not enabled, the object appears on the screen in its disabled state.

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

Examples

To disable a radio with the Tag Name of VisaButton:

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


To see if a radio with the Tag Name of VisaButton is enabled:

#VISABUTTON_ENABLE = CreditCardGroup.BUTTON("VisaButton").Enable
 

Comment on this topic

Topic ID: 510053