IPrxTableIslandGroupingTotals.Format

Syntax

Format : IPrxTableIslandFormat;

Description

The Format property determines totals formatting parameters.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub User;

Var

Report : IPrxReport;

TabIs : IPrxTableIslands;

TI : IPrxTableIsland;

Grs : IPrxTableIslandGroupings;

Gr : IPrxTableIslandGrouping;

GrT : IPrxTableIslandGroupingTotals;

Format : IPrxTableIslandFormat;

Style : IPrxCellStyle;

Begin

TabIs := Report.TableIslands;

TI := TabIs.Item(0);

TI := TI.Edit;

Grs := TI.Groupings;

Gr := Grs.Item(0);

GrT := Gr.Totals;

Format := GrT.Format;

Style := Format.Style;

Style.BackgroundColor := GxColor.FromName("Red");

Style.Font.Bold := TriState.OnOption;

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

TI.Save;

End Sub User;

After executing the example formatting is set up for relational area totals.

See also:

IPrxTableIslandGroupingTotals