[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PartRestoreScreen


Purpose   Restores a portion of a saved/virtual screen to the display.

Decln.    PartRestoreScreen(Page,X1,Y1,X2,Y2,X,Y:byte);

Remarks   Page is the saved/virtual screen number of the stored image.
          X1, Y1 are the top left coordinates of the area to be restored.
          X2, Y2 are the lower right coordinates of the area to be
          restored.
          X, Y are the top left coordinates of the target location on the
          visible screen.

          The screen can either be a saved screen created with SaveScreen
          or a virtual screen created with CreateScreen.

Example

BEGIN
    SAVESCREEN(3);
    ....
    ..   {SCREEN MODIFYING PROCEDURES}
    ....
    PARTRESTORESCREEN(3,1,1,80,12,1,13);
    DISPOSESCREEN(3);
END;

The screen is saved to page 3 and then some other procedures modify the
display. Finally, the top half of the saved screen is restored to the lower
half of the screen display.

See Also: RestoreScreen PartSlideRestoreScreen SlideRestoreScreen
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson