Sign in Join
FPDoc Onlineexperiment

TCSVDocument.InsertCell procedure

Member of TCSVDocumentpublicIn unit CsvDocument

Insert cell at specified position.

Declaration

pascal
procedure InsertCell(ACol: Integer; ARow: Integer; 
                    const AValue: string='')

Arguments

ACol

Column number (zero based) before which to insert new cell.

ARow

Row number (zero based) at which to insert new cell.

AValue

Value for the newly inserted cell.

Description

InsertCell inserts a new cell before cell aCol (zero based) in row aRow (zero based) with value aValue. If aValue is not specified, then an empty cell is inserted.

If a non-existing column is specified, the cell is appended at the end of the row.

If a non-existing row is specified, rows are added till aRow is reached.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.