TRVTableItemInfo.IsCellSelected

<< Click to display table of contents >>

TRVTableItemInfo.IsCellSelected

Returns: is the specified cell selected or not.

function IsCellSelected(Row, Col: Integer): Boolean;

Example: iteration through all selected cells

for r := 0 to table.RowCount-1 do

  for c := 0 to table.ColCount-1 do

    if (table.Cells[r,c]<>niland

       table.IsCellSelected(r,c) then ...

This method must be called when the document is formatted.

See also:

Overview of selection in tables.

See also methods:

GetNormalizedSelectionBounds.