[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     Syntax:        TXCOLBOX(<expN1>,<expN2>,<expN3>,<expN4>,
                    [<expN5>],[<expN6>],[<expN7>])

     Purpose:       Prints a single or double lined box using columns
                    and rows as coordinates. The border thickness is
                    set by <expN7>. The box may be shaded using a
                    graybar.

     Arguments:     <expN1> is the upper column coordinate of the box.

                    <expN2> is the upper row coordinate of the box.

                    <expN3> is the column width of the box

                    <expN4> is the row height of the box

                    <expN5> is the border option.
                         1 = single line border
                         2 = double line border

                    <expN6> is the percent of shading to fill the box.
                    If omitted, the box will not be shaded. Valid
                    values are 1 - 100.

                    <expN7> is the thickness of the border in dots. Do
                    not use with double line border.

     Returns:        0  Successful
                     1  Invalid number of parameters
                     2  Only 1 parameter passed
                     3  Only 2 parameters passed
                     4  Only 3 parameters passed
                     5  <expN1> column parameter not numeric
                     6  <expN2> row parameter not numeric
                     7  <expN3> width parameter not numeric
                     8  <expN4> height parameter not numeric
                     9  <expN5> border parameter not numeric
                    10  <expN6> shading percent not numeric
                    11  <expN6> shading percent > 100
                    12  <expN7> border weight parameter not numeric

     Usage:         TXCOLBOX() is useful anytime you need to print a
                    box using columns and rows as coordinates. See
                    Invoice Demo. When used with TXCOLPRINT(), it will
                    provide an accurate border.

     Example:       * To print a border on page
                    _ret_code = txcolbox(01, 01, 80, 60)
                    IF _ret_code != 0
                       set console on
                       set print off
                       set device to screen
                       ?? "Error drawing ColBox "+str(_ret_code)
                       Return
                    ENDIF
                    (Your Print Routine)

     See Also:      TXDOTBOX(), TXGRAYBAR(), TXCOLPRINT()

     Printers:      Do not use with the original HP LaserJet

See Also: TXDOTBOX() TXGRAYBAR() TXCOLPRINT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson