Command PV DELETE CELLS

4D View

PV DELETE CELLS

version 6.8


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

ParameterTypeDescription
areaLongint4D View area
columnLongintColumn number
rowLongintRow number
numberLongintNumber of cells to delete
directionLongintDirection to shift the cells

Description

The PV DELETE CELLS command deletes 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 top or the left. Use the pv to the left or pv to the top 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 deletes one cell starting at column 2 and row 2. Other cells will be shifted toward the top:

   PV DELETE CELLS(area;2;2;1; pv to the top)

See Also

PV INSERT CELLS.

Constants

PV Directions theme.