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



Purpose   To set the colors to your preferred values. Believe it or
          not, some people don't like my choice of colors!

Type Optional

Declaration    IO_SetColors(HF,HB,LF,LB,MF,MB:byte);

           HF is the foreground color of the active field (0..15)
           HB is the background color of the active field (0..7)
           LF is the foreground color of the other fields (0..15)
           LB is the background color of the other fields (0..7)
           MF is the foreground color of the optional message (0..15)
           MB is the background color of the optional message (0..15)

Uses CRT, FastTTT, DOS, WinTTT, KeyTTT, IOTTT.

Remarks   The Toolkit will default to one of two sets, depending on
          whether the system is monochrome or color.

Example


               USES CRT, FASTTTT, DOS, WINTTT, KEYTTT, IOTTT;
               BEGIN
                 IF BASEOFSCREEN = $B800 THEN
                 IO_SETCOLORS(YELLOW, RED, BLACK, LIGHTGRAY,
                 LIGHTCYAN, BLUE);
                 ELSE
                 IO_SETCOLORS(WHITE, BLACK, LIGHTGRAY, BLACK, BLACK,
                 LIGHTGRAY);
               END.


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