TRVTableItemInfo.UnmergeCells

<< Click to display table of contents >>

TRVTableItemInfo.UnmergeCells

Unmerges cells.

procedure UnmergeCells(TopRow, LeftCol, ColSpan, RowSpan: Integer; UnmergeRows, UnmergeCols: Boolean);

Cells can be merged using the methods MergeCells or MergeSelectedCells.

This method unmerges all cells in range from Cells[TopRow, LeftCol] to Cells[TopRow+RowSpan, LeftCol+ColSpan].

If UnmergeRows=True, it unmerges each cell into RowSpan rows.

If UnmergeCols=True, it unmerges each cells into ColSpan columns.

UnmergeRows and UnmergeCells can both be True.

See also:

Undo note.

See also methods:

UnmergeSelectedCells;

MergeCells.