home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
13
/
N_B_V203.ZIP
/
TBOX_VH.DMO
< prev
next >
Wrap
Text File
|
1996-07-04
|
3KB
|
60 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME TBOX_VH .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
? "┌────────────────────────────────────────────────────────────────────────
? "│ TBoxDRAWV( Row?, Col?, Rows?, Border%, Attr?, Connect? )
? "│ TBoxDRAWH( Row?, Col?, Cols?, Border%, Attr?, Connect? )
? "├─────────────────────────────────────────────────────────────────────────────
? "│ Draws 12 different cross members for boxes.
? "│ Cross members may be connected using the logic of TBoxDRAW borders only.
? "│
? "│ SEE the help screen for the different box styles associated with Border%
? "└─────────────────────────────────────────────────────────────────────────────
BrDr% = 1
Pause! = .5
FOR Connect? = 0 TO 1
TBoxDRAW 10, 10, 11, 21, BrDr%, 14
TBoxDRAWH 12, 10, 11, BrDr%, 0
TBoxDRAWH 14, 20, 11, BrDr%, 0
TBoxDRAWH 17, 10, 21, BrDr%, 0
DELAY Pause!
TBoxDRAWV 10, 20, 11, BrDr%, Connect?
DELAY Pause!
INCR BrDr%
TBoxDRAW 10, 50, 11, 21, BrDr%, 10
TBoxDRAWV 10, 54, 6, BrDr%, 0
TBoxDRAWV 10, 60, 11, BrDr%, 0
TBoxDRAWV 15, 66, 6, BrDr%, 0
DELAY Pause!
TBoxDRAWH 15, 50, 21, BrDr%, Connect?
INCR BrDr%
Tprint 25, 55, "Press any key to continue.", 15
WHILE NOT INSTAT : WEND
NEXT
$if 0 ' HI!
CLS ' this little box is used by
TBoxDRAW 10, 10, 11, 21, 1, 14 ' the menu routine(s) when you
TBoxDRAWV 10, 28, 11, 1, 1 ' want a slider button to
TboxDRAWH 12, 28, 3, 1, 1 ' indicate where, in the list,
TboxDRAWH 18, 28, 3, 1, 1 ' you are.
$endif '