Enable and Visible Properties |
DEVELOPER |
All field objects that are disabled or hidden by Property Logic Commands (e.g., EODButton.enable = FALSE or EODButton.visible = FALSE) will be skipped during the timing cycle. It is the same as if a FLD statement had caused the field to be skipped, so Field Logics are not executed.
The effect of the Enable and Visible commands on the properties of a dynamic object are:
-
If either is FALSE, the field is not included in the timing cycle. This means that nothing will be displayed. If the developer wants data displayed in a disabled field, the REFRESH method must be used
-
If either is set from FALSE to TRUE, the field will be refreshed as if the developer had executed the REFRESH method on this field. The only logic executed in this case is On Refresh Logic.
-
If Enable is set to FALSE when there is data displayed on the screen, the data will remain in place but will appear disabled (usually greyed out).
-
If Visible is FALSE, the Windows Client will hide the data.
-
If the developer wants the data in a disabled field refreshed during the execution of the timing cycle, the REFRESH method should be used on the field.
-
The behaviour during SYSPASS is the same. Disabled and invisible fields will be skipped.
Topic ID: 510054