PERFORM RMP--SSR-PANELNAME
This standard run-time function changes the minimum, maximum, step, and page values for a scroll bar. In some instances, these values are unknown until the RM/Panels run-time system and this function can be used to reset them.
The application program must set the name of the scroll bar in RMP--FIELD-NAME.
RMP--SB-MIN must be set to the new minimum value. RMP--SB-MAX must be set to the new maximum value.
RMP--SB-STEP may be set to the new step value or zero to keep the current value. RMP--SB-PAGE may be set to the new page value or zero to keep the current value.
Status value | Description |
---|---|
0 | The function executed successfully. |
1 | The field/control name is invalid. |
5 | The panel is not in this library |
6 | The library does not exist. |
14 | A COBOL input/output error was encountered on the panel library during execution of this function. To determine the exact nature of the I/O error, use the C$RERR subprogram. |