IPrxDataIslandHeader.Behaviour

Syntax

Behaviour: PrxDataIslandHeaderBehaviour;

Description

The Behaviour property determines behavior of rows and columns when the data area is extended.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

THead: IPrxDataIslandHeader;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0).Edit;

    Prop := DI.Properties;

    THead := Prop.TopHeader;

    THead.Behaviour := PrxDataIslandHeaderBehaviour.Fixed;

DI.Save;

MObj.Save;

End Sub Main;

After executing the example the number of data area columns is fixed and remains the same when the data area is extended. The identifier of the regular report - Report.

See also:

IPrxDataIslandHeader