Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxComponentPrinter.DesignReport(TBasedxReportLink) Method

Opens the Report Designer dialog.

#Declaration

Delphi
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 displayed dialog is closed without confirmation.

#Remarks

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

#Code Example: Display Report Designer

The following code example rebuilds a report and opens 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