Pathmaker Programming Guide

Basic Screen Painter Editing Functions
Using the Screen Painter
067868 Tandem Computers Incorporated 6–9
If you define a MENU requester that contains only one page of information, the
Pathmaker product does not create a paging area for the default screen. You can
create a paging area for this requester by using the procedure described in “Defining
the Paging Area,” next in this subsection. If you deleted the paging area by using
function key shifted F9, you can redefine another one by using this procedure.
If the Pathmaker product created a default paging area for you, you can modify the
size of the paging area by using the procedure described in “Modifying the Paging
Area,” in this subsection.
Defining the Paging Area
Use the cursor and function key F9 to define the paging area. When you press F9 to
define a paging area, the Screen Painter marks the cursor position as one corner of the
paging area definition.
In the following illustration, assume that X is the first cursor position and Y is the
second cursor position. The cursor is on X when you first press F9. Now move the
cursor to the opposite corner of the desired area, to position Y, and press F9 again.
The entire rectangular area between the two cursor positions becomes the paging area:
______________________________________
|X |
| Paging Area |
|_____________________________________Y|
To see the boundaries of the paging area, press shifted F10; the Pathmaker product
displays the paging area in dim reverse video.
If the paging area is narrower than the screen, remember that the first column inside
the paging area, and the first column to the right of the paging area, are reserved for
video attributes. You cannot add a screen element in these columns.
Modifying the Paging Area
When you modify the paging area, the Screen Painter moves every screen element
within the paging area to an equivalent position relative to the new beginning border
of the paging area. If a screen element began one row down and two columns to the
right of the original upper-left corner of the paging area, the Screen Painter attempts to
place it one row down and two columns to the right of the new upper-left corner of the
paging area.
In the following example, the box represents the initial size of the paging area:
Screen Title
_______________________________
| |
| Data Field1 _______ |
| |
| |
|_______________________________|
Advisory line