TRVTableItemInfo.SetCellBackgroundStyle (deprecated)

<< Click to display table of contents >>

TRVTableItemInfo.SetCellBackgroundStyle (deprecated)

Assigns Value to Cells[Row, Col].BackgroundStyle, as an editing operation.

procedure SetCellBackgroundStyle(Value: TRVItemBackgroundStyle;

  Row,Col: Integer);

This method is deprecated, use SetCellBackgroundProperty instead.

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

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

See also:

Undo/redo in tables;

Undo/redo in TRichViewEdit.