FGL Draw Box Command

Help System


FGL Draw Box Command

FGL has a command to draw boxes, so you do not have to write instructions to draw 4 different lines, as well as a command that lets you specify how thick the lines of the box being drawn will be.  Here are the commands to draw boxes and specify their thickness:

<BXh,w>           Draw Box command.  h,w are numbers, such as 30,45
<LT#>               Line Thickness command.  # is a number, such as 5

Boxes are drawn from the last position specified to the printer, either directly by an <RCy,x> command, or by the last printer cursor position used by the previous command.  The numbers you specify in the <BXh,w> commands are the Height and Width of the box drawn in dots.

The thickness specified in the <LT#> command REMAINS IN EFFECT until you specify another line thickness.

Here is some sample code below to illustrate the use of the Draw Box command:

<F3><HW1,1>
<RC100,100><EI>   EVENT NAME  
<RC130,100>
<LT1><BX100,320>
<RC150,180><HW2,1><DI>C-A-T-S!

The output from the above code should look very similar to this:

See Also:

FGL Printer Commands
WYSIWYG Editor