QR SET BORDERS

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


QR SET BORDERS (area; column; row; border; line{; color})

ParameterTypeDescription
areaLongintReference of the area
columnLongintColumn number
rowLongintRow number
borderLongintBorder composite value
lineLongintLine thickness
colorLongintBorder color

Description

The QR SET BORDERS command allows you to set the border style for a given cell.

area is the reference of the Quick Report area.

column is the column number of the cell.

row is the row number of the cell.

if row equals -1, the title of the report is affected

if row equals -2, the detail of the report is affected

if row equals -3, the grand total of the report is affected

if row is a positive integer, it designates the Subtotal (break) level that is affected.

You can use constants from the QR Rows for Properties theme to designate the row item. (qr title= -1, qr detail=-2, qr grand total=-3).

border is a composite value that indicates which borders of the cell are to be affected:

1 indicates the left border

2 indicates the top border

4 indicates the right border

8 indicates the bottom border

16 indicates the inside vertical border

32 indicates the inside horizontal border.

You can use constants from the QR Borders theme to designate the border item.

For example, a value of 5 passed in border would affect the right and left borders.

line is the thickness of the line:

0 indicates no line

1 indicates a thickness of 1/4 point

2 indicates a thickness of 1/2 point

3 indicates a thickness of 1 point

4 indicates a thickness of 2 points

color is the color of the line:

If color is a positive value, it indicates a specific color.

If color equals 0, the color is black.

If color equals -1, no changes are to be made.

Note: The default color is black.

If you pass an invalid area number, the error -9850 will be generated.

If you pass an invalid column number, the error -9852 will be generated.

If you pass an invalid row number, the error -9853 will be generated.

If you pass an invalid border parameter, the error -9854 will be generated.

If you pass an invalid line parameter, the error -9855 will be generated.

See Also

QR GET BORDERS.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next