Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Selection width z/OS ISPF Dialog Tag Language Guide and Reference SC19-3620-00 |
|
The SELWIDTH attribute of the SELFLD tag should be used to define the amount of space taken up by the choice-description-text of each CHOICE tag. This attribute is used to control the formatting of panels defined with horizontal regions. If you do not specify a SELWIDTH value, the conversion utility reserves the remaining available formatting width for the text. When specifying an explicit SELWIDTH value, you must take into consideration the components of the selection field, as well as the choice-description-text. The conversion utility reserves a number of positions on the lines that selection field choices appear on for the entry fields, 3270 attributes, and, in the case of single-choice, menu-choice, model-choice, and tutor-choice selection fields, the choice prefixes. See the SELWIDTH attribute in SELFLD (Selection Field) for a discussion of the amount of space reserved for each choice type. These reserved positions must be added to the length of the choice-description-text in the SELWIDTH value you specify. Here is an example of markup that contains two selection fields, one single-choice and one multiple-choice, within a horizontal region. To format the selection fields properly, ensure that the SELWIDTH values you specify are adequate for the reserved positions and the choice-description-text. The largest choice-description-text in the first selection field is 9 characters, which, when combined with the 10 reserved positions in the field, means you must specify a SELWIDTH value of at least 19. The largest choice-description-text in the second selection field is 27 characters, which, when combined with the 5 reserved positions in the field, means you must specify a SELWIDTH value of at least 32.
Here is the formatted result: Figure 1. Selection field SELWIDTH attribute
|
Copyright IBM Corporation 1990, 2014
|