IPrxReport.Controls

Syntax

Controls: IPrxReportControls;

Description

The Controls property returns the collection of controls of the regular report.

Example

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Contr: IPrxReportControls;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Bind As IPrxReport;
    Contr := Report.Controls;
    i := Contr.Count;
End Sub Main;

After executing the example the "i" variable contains the number of controls of the regular report with the Report identifier.

See also:

IPrxReport