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



Purpose   To copy one part of the screen to another area of the
          display.

Declaration    CopyScreenBlock(X1,Y1,X2,Y2,X,Y:integer);

          X1 is the top left X coordinate (1..80)
          Y1 is the top left Y coordinate (1..25)
          X2 is the lower X coordinate (1..80)
          Y2 is the lower Y coordinate (1..25)
          X is the top left X coord of the target location (1..80)
          Y is the top left Y coord of the target location (1..25)

Uses Crt, FastTTT, DOS, WinTTT.

Remarks   The data is copied or duplicated to another location on the
          screen. Use the procedure MoveScreenBlock if you want to
          physically move the information whilst blanking the source
          area. The copy operation actually occurs one line at a time,
          so unexpected results may occur if the source and target
          zones overlap.



Example


               USES CRT, FASTTTT, DOS, WINTTT;
               BEGIN
                 COPYSCREENBLOCK(1,1,80,2,1,24);
               END.


The top two lines of the screen are copied to the bottom two lines of
the screen.

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