<< Click to display table of contents >>


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

procedure SetCellBackgroundImage(Value: TGraphic; Row,Col: Integer);

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

Image in Value is copied, so you still need to free memory for this it.

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

See also:

Undo/redo in tables;

Undo/redo in TRichViewEdit.