The detectable property originated with 3270 terminals that allowed selection of fields with a light pen. In programs generated for Java™, a mouse click substitutes for selection with a light pen. If the detectable property is set to YES, the modified data tag for the field is set when the user selects the field. There is little or no practical use for this property in new code.
To prevent the user from changing the designator character in a variable field, set the protect property to YES or SKIP.
In general, detectable is used for variable fields. If you specify detectable with the immediate detect designator character for a constant field, the program behaves as if the user pressed ENTER as soon as the field displayed.
IBM® 3278 and 3279 terminals support either kind of detect. IBM 3277 terminals support only delayed detect. Review the documentation for the terminals or emulators that you want to support to determine the correct designator characters.
| Data item | JSF handler | VGUI record | Console UI | Text Form Java | Text Form COBOL | Print Form Java | Print Form COBOL |
|---|---|---|---|---|---|---|---|
| Yes | No | No | No | Yes* | Yes* | No | No |
* See compatibility considerations below.
| Platform | Issue |
|---|---|
| Text UI | The intensity property for the detectable field must have a value other than invisible. |