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



Purpose   To save a screen for subsequent restore.

Declaration    SaveScreen(Page: byte);

          Page is the number assigned to the saved screen

Uses Crt, FastTTT, DOS, WinTTT.

Remarks   This procedure will save a full copy of the screen and all
          the attributes i.e. the colors. The location of the cursor
          is also saved.

          Multiple screens can be saved (up to Max_Screens, see
          Interface Declarations at beginning of chapter) at the same
          time. The Page number assignment can be arbitrary, but it is
          good practice to save them in ascending order starting from
          page 1. If a page is already saved to a particular Page and
          another screen is saved to that same Page, the saved screen
          will be overwritten.



Example


               USES CRT, FASTTTT, DOS, WINTTT;
               BEGIN
                 SAVESCREEN(1);
                 .....
                 ..    {SCREEN MODIFYING PROCEDURES}
                 .....
                 RESTORESCREEN(1);
                 DISPOSESCREEN(1);
               END.


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