home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
13
/
N_B_V203.ZIP
/
RCOLORTB.DMO
< prev
next >
Wrap
Text File
|
1996-07-04
|
2KB
|
34 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME RCOLORTB.DMO ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
$endif
$INCLUDE "DAS-NBT1.INC"
COLOR 7, 0
CLS
? "┌──────────────────────────────────────────────────────────────────────────
? "│ TBoxCOLOR2 ( Row?, Col?, Rows?, Cols?, Oattr?, Nattr? )
? "├──────────────────────────────────────────────────────────────────────────
? "│ Very simply put, TBoxCOLOR2 replaces any occurrence of Oattr? with Nattr?
? "│ inside the box. All other attributes and the characters are not affected.
? "└──────────────────────────────────────────────────────────────────────────
TBoxFILL 7, 1, 19, 80, 88, 79 ' hi-white X's on red background
TBoxFILL 9, 21, 10, 40, 65, 16 ' black A's on blue background
DELAY 2 ' pause for effect
TBoxCOLOR2 1, 1, 25, 80, 79, 112 ' change X's to black on white
DELAY 2 ' more effect
TBoxCOLOR2 1, 1, 25, 80, 16, 7 ' change A's to white on black