1 | Session handle | Input | Binary(4) |
2 | Roll amount | Input | Binary(4) |
3 | Error code | I/O | Char(*) |
Return code | Output | Binary(4) |
The Roll Scroller Up (QsnRollSclUp) API rolls the scroller up by the specified number of scroller rows. A scroller row is distinct from a scroller line in that a scroller line consists of multiple scroller rows if line wrapping is set on and the line exceeds the width of the scroller.
None
A handle for the session to be rolled.
The number of scroller rows to roll the scroller by. If this parameter is omitted or set to 0, the default value is used. The default value can be queried using the Retrieve Number of Rows to Roll Scroller (QsnRtvSclNumRoll) API. If the roll amount causes the scroller to roll past its bottom, then the bottom of the scroller is displayed.
The structure in which to return error information. For the format of the structure, see Error Code Parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.
A return code indicating the result of the operation. The value returned will be 0 if the operation was successful, or -1 otherwise.
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPFA333 E | Parameter &1 not positive integer value. |
CPFA31E E | Required parameter &1 omitted. |
CPFA343 E | Output operation not done. |
CPFA344 E | The file &2 in library &3 is not valid. |
CPFA345 E | The invite active flag is not valid. |
CPFA3D3 E | Scroller not printed. |
CPFA3D6 E | Session handle is incorrect. |
CPFA3D8 E | Scroller display is not valid. |
Top | Dynamic Screen Manager APIs | APIs by category |