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