Highlighted
Absent Member.
Absent Member.
271 views

ID Values for screen fields

I am trying to set the ID for the fields in screen section instead of using the automatic assignment based on the placement. Some fields allow me to set the ID but other will cause compilation errors. Is it possible to set the ID for controls that do not have "ENTRY-FIELD" (See #41)


      * #43
           05 MS-AF-LAST-COST  ENTRY-FIELD, VALUE AF-LAST-COST,
              BEFORE    PROCEDURE IS MARK-PLACE-LAST-COST
              AFTER     PROCEDURE IS CHECK-LAST-COST
              EXCEPTION PROCEDURE IS CHECK-FUNCTION-KEYS
              LINE 13   POSITION  70 NO-BOX, RIGHT
              ID IS ID-LAST-COST.

 


      * #41
           05 MS-AF-LAST-PURCH-DATE  USING AF-LAST-PURCH-DATE
              BEFORE    PROCEDURE IS MARK-PLACE-LAST-PURCH-DATE
              AFTER     PROCEDURE IS CHECK-LAST-PURCH-DATE
              EXCEPTION PROCEDURE IS CHECK-FUNCTION-KEYS
              LINE 11   POSITION  71.

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: ID Values for screen fields

ID is a valid property for all controls, ID is typically used for navigation to each control using the tab key. The control ID signifies the order of when each control will get focused. Typically the ID is numeric. There are controls like the label which can have an ID but because the label is not interactive, in many cases going to the ID for a label places the cursor into the control adjacent to that label. If you are using the AcuBench screen designer, you can right click in the screen, choose Tab Order and reorder how you want the controls to get focus.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.