Style: IEaxTableStyle;
The Style property returns object that contains parameters of displaying express report table.
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 the example style parameters for displaying totals in the express report table are changed. Express report identifier - EXPRESS_REPORT.
See also: