IPrxTableIslandLayoutRow.Remove

Syntax

Remove(Index: Integer): Boolean;

Parameters

Index - index of a layout row.

Description

The Remove method removes a layout cell by the specified index.

Example

Sub Main;

Var

MB: IMetabase;

MObj : IMetabaseObject;

Report : IPrxReport;

TabIs : IPrxTableIslands;

TI : IPrxTableIsland;

Layout : IPrxTableIslandLayout;

Row : IPrxTableIslandLayoutRow;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

TabIs := Report.TableIslands;

TI := TabIs.Item(0);

TI := TI.Edit;

Layout := TI.Layout;

Row := Layout.Rows(0);

Row.Remove(2);

TI.Save;

MObj.Save;

End Sub Main;

After executing the example the selected cell of the layout row is removed.

See also:

IPrxTableIslandLayoutRow