Skip to main content

TCustomdxComponentPrinter.DesignerExistsByComponent(TComponent) Method

Identifies if the Report Designer dialog is available for the specified component’s report link.

Declaration

function DesignerExistsByComponent(AComponent: TComponent): Boolean;

Parameters

Name Type Description
AComponent TComponent

The target component.

If the parameter value is nil (in Delphi) or nullptr (in C++Builder), the function returns False.

Returns

Type Description
Boolean
  • True if the target component has a report link with a registered Report Designer form class.
  • False if the target component has no report link or the report link has no registered Report Designer form class.

Remarks

You can call the DesignerExistsByComponent function to identify if the Report Designer dialog is available for a component.

Supported Components

Only the following components and their report links can invoke the Report Designer dialog:

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