DRAWBOX - Draw a box
Purpose: Draw a box on the screen.
Format: DRAWBOX ulrow ulcol lrrow lrcol style [BRIght] [BLInk] fg ON
[BRIght] bg [FILl [BRIght] bgfill ] [ZOOm] [SHAdow]
ulrow : Row for upper left corner
ulcol : Column for upper left corner
lrrow : Row for lower right corner
lrcol : Column for lower right corner
style : Box drawing style:
0 No lines (box is drawn with blanks)
1 Single line
2 Double line
3 Single line on top and bottom, double on sides
4 Double line on top and bottom, single on sides
fg : Foreground character color
bg : Background character color
bgfill : Background fill color (for the inside of the box)
See also: DRAWHLINE and DRAWVLINE.
Usage
DRAWBOX is useful for creating attractive screen displays in batch files.
For example, to draw a box around the edge of an 80x25 screen with bright
white lines on a blue background:
drawbox 0 0 24 79 1 bri whi on blu fill blu
See Colors and Color Names for details about colors and notes on the use
of bright background colors.
If you use ZOOM, the box appears to grow in steps to its final size. The
speed of the zoom operation depends on the speed of your computer and
video system.
If you use SHADOW, a drop shadow is created by changing the characters in
the row under the box and the 2 columns to the right of the box to normal
intensity text with a black background (this will make characters
displayed in black disappear entirely).
The row and column values are zero-based, so on a standard 25 line by 80
column display, valid rows are 0 - 24 and valid columns are 0 - 79.
DRAWBOX checks for valid row and column values, and displays a "Usage"
error message if any values are out of range.
Unlike DRAWHLINE and DRAWVLINE, DRAWBOX does not automatically connect
boxes to existing lines on the screen with the proper connector
characters. If you want to draw lines inside a box and have the proper
connectors drawn automatically, draw the box first, then use DRAWHLINE
and DRAWVLINE to draw the lines.
DRAWBOX uses the standard line and box drawing characters in the U.S.
English extended ASCII character set. If your system is configured for a
different country or language, or a font which does not include these
characters, the box may not appear on your screen as you expect.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs