Unit 'csvdocument' Package
[Overview][Types][Classes][Index] [#fcl]

TCSVDocument.ExchangeRows

Exchange positions of 2 rows.

Declaration

Source position: csvdocument.pp line 138

public procedure TCSVDocument.ExchangeRows(

  ARow1: Integer;

  ARow2: Integer

);

Arguments

ARow1

  

First row index.

ARow2

  

Second row index.

Description

ExchangeRows takes 2 rows with positions aRow1 and aRow2, and exchanges them. if either of the row indexes does not exist, no action is performed.

See also

AddRow

  

Add a new row to the CSV Data.

InsertRow

  

Insert row before row number aRow.

CloneRow

  

Duplicate a row.


Documentation generated on: Nov 23 2024