TCustomdxComponentPrinter.DesignReport(TBasedxReportLink) Method
Opens the Report Designer dialog.
#Declaration
Delphi
function DesignReport(AReportLink: TBasedxReportLink = nil): Boolean;
#Parameters
Name | Type | Description |
---|---|---|
AReport |
TBasedx |
Optional. The source report link. If this parameter is omitted (the parameter value is |
#Returns
Type | Description |
---|---|
Boolean |
|
#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);
#Supported Report Links
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