HighlightedStyle: ITabCellStyle;
The HighlightedStyle property determines style of highlighted table cells.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Style: IEaxTableStyle;
HS: ITabCellStyle;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
Grid := Expr.Grid;
Style := Grid.Style;
HS := Style.HighlightedStyle;
HS.BackgroundColor := GxColor.FromName("Gold");
MObj.Save;
End Sub UserProc;
After executing the example golden background is set for highlighted table cells. Express report identifier - EXPRESS_REPORT.
See also: