@ ... BOX Command

Included for backward compatibility. Use the Shape control instead.

This command is undocumented in the original VFP9 help file,
but the following documentation was found in the FoxPro for Windows 2.6 help, and may still be valid:

Draws a box using specified coordinates.

@ row1, column1, row2, column2
BOX [expC]

Parameters

row1, column1, row2, column2
 row1, column1 are the coordinates of the upper-left corner of the box, and row2, column2 are the coordinates of the lower-right corner of the box. If row1 and row2 are the same, a horizontal line is drawn. If column1 and column2 are the same, a vertical line is drawn.

expC
 The characters used to draw the box can be specified by including expC, the character expression, which can include nine characters - one for each corner, one for each side and one to fill the box. The characters are displayed starting with the upper-left corner and continuing clockwise. If a ninth character is specified, it is used to fill the interior of the box. If just one character is specified, it is used to draw the entire border. If expC is omitted, the box is drawn using a single line.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic