IPrxSheet.Controls

Syntax

Controls: IPrxControls;

Description

The Controls property returns an object that contains all control of the sheet. This property is outdated, it is recommended to use the IPrxReportControls.SheetControls property.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

Sheet: IPrxSheet;

Controls: IPrxControls;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Report:=MB.ItemById("Report").Bind As IPrxReport;

Sheet:=Report.ActiveSheet;

Controls:=Sheet.Controls;

i:=Controls.Count;

End Sub Main;

After executing the example the "i" variable contains the number of elements of the active sheet of the regular report. The identifier of the regular report - Report.

See also:

IPrxSheet