Command PV INSERT CELLS

4D View

PV INSERT CELLS

version 6.8


PV INSERT CELLS (area; column; row; number; direction)

ParameterTypeDescription
areaLongint4D View area
columnLongintColumn number
rowLongintRow number
numberLongintNumber of rows to insert
directionLongintDirection of the insertion

Description

The PV INSERT CELLS command inserts number cell(s) in area starting at cell defined by column and row.

The direction parameter allows you to define if the existing cells must be shifted toward the bottom or the right. Use the pv to the right or pv to the bottom constants in the PV Directions theme to set the value of this parameter.

Note: This command must not be called within a dynamic area. Otherwise, the error 86 is generated.

Example

The following example inserts two cells starting at column 1 and row 1. Existing cells will be shifted toward the bottom:

   PV INSERT CELLS(area;1;1;2; pv to the bottom)

See Also

PV DELETE CELLS.

Constants

PV Directions theme.