IEaxGrid.Style

Syntax

Style: IEaxTableStyle;

Description

The Style property returns object that contains parameters of displaying express report table.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Expr: IEaxAnalyzer;

Grid: IEaxGrid;

Style: IEaxTableStyle;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("EXPRESS_REPORT").Edit;

Expr := MObj As IEaxAnalyzer;

Grid := Expr.Grid;

Style := Grid.Style;

Style.TotalsStyle.Font.Italic := TriState.OnOption;

Style.TotalsStyle.Font.Color := GxColor.FromName("Red");

MObj.Save;

End Sub Main;

 

After executing this example style parameters for displaying totals in the express report table are changed. Express report identifier - EXPRESS_REPORT.

See also:

IEaxGrid