Skip to main content

TCustomdxComponentPrinter.DesignReport(TBasedxReportLink) Method

Invokes the Report Designer dialog.

Declaration

function DesignReport(AReportLink: TBasedxReportLink = nil): Boolean;

Parameters

Name Type Description
AReportLink TBasedxReportLink

Optional. The source report link.

If this parameter is omitted (the parameter value is nil in Delphi or nullptr in C++Builder), the function uses the current report link as the target for the Report Designer dialog.

Returns

Type Description
Boolean
  • True if the Report Designer dialog applies pending changes when closed.
  • False if the invoked dialog is closed without confirmation.

Remarks

Call the DesignReport function to invoke the Report Designer dialog for a supported report link.

Code Example

The following code example rebuilds a report and invokes the Report Designer dialog:

  dxComponentPrinter1Link1.DesignerCaption := 'Report Designer';
  dxComponentPrinter1.RebuildReport(dxComponentPrinter1Link1);
  dxComponentPrinter1.DesignReport(dxComponentPrinter1Link1);

Only the following report links register corresponding Report Designer dialog forms:

Data Grid

TdxGridReportLink
Represents a ReportLink object used by the ExpressPrinting System to print the ExpressQuantumGrid component.

Pivot Grid

TcxPivotGridReportLink
A report link for Pivot Grid controls.

Scheduler

TcxSchedulerReportLink
Implements the scheduler’s report generating component.

Tree List

TcxDBTreeListReportLink
Represents a report link for printing out the data aware TreeList control.
TcxTreeListReportLink
Represents a report link for printing out the standard TreeList control.
TcxVirtualTreeListReportLink
Represents a report link for printing out the standard TreeList control.

Vertical Grid

TcxRTTIInspectorReportLink
Represents the report link used for printing out the cxRTTIInspector control.
TcxUnboundVerticalGridReportLink
Represents the report link used to print out single record controls.
TcxVerticalGridReportLink
Represents the report link used for printing out the cxVerticalGrid control.
See Also