Box and Boxf commands.
These commands draw boxes
into the report. Boxf draws a filled box. The color used by both is the
color defined with "C".
Syntax:
Box=[X1],[Y1],X2,Y2[, type]
BoxF=[X1],[Y1],X2,Y2
X1 and Y1 are the values
(expressed in twips) of the first point of the box.
If omitted, X1 and/or Y1 will assume the current X and/or Y position in
the page.
X2 and Y2 determine the length and height of the box (not the
last point).
Type determines if the box will be made with solid lines (0 default) or with
dashed (1) lines. This feature is only available on Box command; Boxf doesn't
accept this argument.
Example:
{Box=400,400,1000,1000}
{Box=400,400,1000,1000,1}
{Boxf=$1 + 500,400,1000,1000}
This example draws a three
boxes with the same argument. The second box is dashed and the third is boxf
so it will be filled.
See also:
Drawwidth. "W"
Special configurations
|