ChangedCellsStyle: ITabCellStyle;
The ChangedCellsStyle property determines style of the cells containing modified data.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Style: IEaxTableStyle;
ChangedStyle: ITabCellStyle;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
Grid := Expr.Grid;
Style := Grid.Style;
ChangedStyle := Style.ChangedCellsStyle;
ChangedStyle.BackgroundColor := GxColor.FromName("Silver");
ChangedStyle.Font.Bold := TriState.OnOption;
ChangedStyle.Font.Italic := TriState.OnOption;
MObj.Save;
End Sub Main;
After executing the example style of the cells containing modified data is changed. The values are shown in bold italics on the gray field.
See also: