[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FillScreen WinTTT
Purpose To fill part or all of the screen with a specific character.
Declaration FillScreen(X1,Y1,X2,Y2,F,B:integer; C:char);
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)
C is the character (any displayable ASCII character)
Uses Crt, FastTTT, DOS, WinTTT.
Remarks This procedure provides a very fast way of filling the
screen with a specific character. It is useful for creating
interesting backgrounds for menus and the like.
Use the procedure ClearText to clear a portion of the
screen.
Example
USES CRT, FASTTTT, DOS, WINTTT;
BEGIN
FILLSCREEN(1,1,80,25,CYAN,BLACK,CHR(177);
END.
The whole screen is filled with the ASCII character 177. It gives a
blocked stipple effect. See the MenuDem.pas program on the
distribution disk for a visual example.
See Also:
ClearText
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson