WINDOW MOVE
Move Thoroughbred Basic Window
This directive relocates the selected Thoroughbred Basic Window to a new column and row position on the terminal screen.
Syntax
Section titled “Syntax”WINDOW MOVE (col1,row1) ["NAME=TBWin-name"]col1- is any positive integer in the range of 0 to the maximum number of columns on the screen minus 1, designating the leftmost screen column to which this Thoroughbred Basic Window is moved.
row1- is any positive integer in the range of 0 to the maximum number of rows on the screen minus 1, designating the topmost screen row to which this Thoroughbred Basic Window is moved.
TBWin-name- is an optional specifier that causes this directive to affect the specified TBWin-name instead of the currently active Thoroughbred Basic Window. If this specifier is omitted the currently active Thoroughbred Basic Window is moved.
Remarks
Section titled “Remarks”This directive is generally available starting with release level 8.1.
Starting with release 8.2, the maximum number for col1 and row1 is 999.
Starting with release 8.2, when moving a Thoroughbred Basic Window that is partially within or out of range of the terminal display, part or none of the Thoroughbred Basic Window may be displayed.
Starting with release 8.2, moving the main Thoroughbred Basic Window, by using the attributes “NAME=0”, causes the terminal display to display at the new location of the main Thoroughbred Basic Window.
If you use this directive but Thoroughbred Basic Windows is not enabled, an ERR=70 results. For information on how to enable Thoroughbred Basic Windows, please refer to the information on TCONFIG files and IPL files in the chapter on System Files in the Thoroughbred Basic Customization and Tuning Guide.
If this task is configured for Thoroughbred Basic Windows, only the standard set of Thoroughbred Basic terminal mnemonics should be used to send output to the terminal. Using direct hexadecimal escape sequences to control the terminal screen may cause the Thoroughbred Basic Windows Manager to lose knowledge of cursor position and character attributes. For more information on terminal mnemonics, please refer to the Thoroughbred Basic Customization and Tuning Guide.
When the Thoroughbred Basic Window is moved, the screen or the Thoroughbred Basic Window data that was behind the original Thoroughbred Basic Window position is re-displayed.
Examples
Section titled “Examples”WINDOW MOVE ( 0, 0 )moves the currently active Thoroughbred Basic Window to the upper left corner of the terminal screen, refreshing the area vacated by this Thoroughbred Basic Window in the move.
See also
Section titled “See also”Other WINDOW directives
Additional WIN functions
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF