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


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

Decln.    PartSlideRestoreScreen(Page:byte;Way:direction;X1,Y1,X2,Y2:byte);

Remarks   Page is the saved/virtual screen number of the stored image.
          Way is the direction to slide the restored image. Valid
          directions are Up, Down, Left, Right.
          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.

          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}
    ....
    PARTSLIDERESTORESCREEN(3,UP,1,1,40,25);
    DISPOSESCREEN(3);
END;

The screen is saved to page 3 and then some other procedures modify the
display. Finally, the left half of the saved screen is restored by sliding
it up the display.

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