IEaxTableStyle.HighlightedStyle

Syntax

HighlightedStyle: ITabCellStyle;

Description

The HighlightedStyle property determines style of highlighted table cells.

Example

Sub Main;

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 Main;

 

After executing the example golden background is set for highlighted table cells. Express report identifier - EXPRESS_REPORT.

See also:

IEaxTableStyle