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



Purpose   To change the display color (attribute) for part or all of
          the screen.

Declaration    Attrib(X1,Y1,X2,Y2,F,B: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)
           F is the foreground color (0..15)
           B is the background color (0..15)

Uses Crt, FastTTT, DOS, WinTTT.

Remarks   The characters themselves are not changed, only their
          display color.



Example


               USES CRT, FASTTTT, DOS, WINTTT;
               BEGIN
                 ATTRIB(1,13,80,35,LIGHTGRAY,BLACK);
               END.


The lower half of the screen display is changed to light gray
characters on a black background.

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