TRVTableItemInfo.SetCellBackgroundProperty

<< Click to display table of contents >>

TRVTableItemInfo.SetCellBackgroundProperty

Assigns Value to the property of Cells[Row, Col].BackgroundProperties identified by PropId, as an editing operation.

procedure SetCellBackgroundProperty(
  PropId: TRVBackgroundPropertyId;
  Value: NativeInt; Row, Col: Integer);

Unlike a direct assignment to properties of Cells[Row, Col].BackgroundProperties, this method can be undone/redone, if it was called for a table inserted in TRichViewEdit (after insertion).

Use this method in conjunction with methods for updating editor window, see example.

See also:

SetBackgroundProperty

Undo/redo in tables;

Undo/redo in TRichViewEdit.