IEaxTableStyle.TopHeaderStyle

Syntax

TopHeaderStyle: ITabCellStyle;

Description

The TopHeaderStyle property determines style of table column headers.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Expr: IEaxAnalyzer;

Grid: IEaxGrid;

Style: IEaxTableStyle;

THS: ITabCellStyle;

Begin

MB:=MetabaseClass.Active;

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

Expr:=MObj As IEaxAnalyzer;

Grid:=Expr.Grid;

Style:=Grid.Style;

THS:=Style.TopHeaderStyle;

THS.BackgroundColor:=GxColor.FromName("Green");

MObj.Save;

End Sub Main;

 

After executing the example green background is set for the table column headers. Express report identifier - EXPRESS_REPORT.

See also:

IEaxTableStyle