Back to Devexpress

TCustomdxComponentPrinter.DesignerExistsByComponent(TComponent) Method

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-designerexistsbycomponent-x28-system-dot-classes-dot-tcomponent-x29.md

latest3.1 KB
Original Source

TCustomdxComponentPrinter.DesignerExistsByComponent(TComponent) Method

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

Declaration

delphi
function DesignerExistsByComponent(AComponent: TComponent): Boolean;

Parameters

NameTypeDescription
AComponentTComponent

The target component.

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

|

Returns

TypeDescription
Boolean
  • True if the target component has a print link with a registered Report Designer form class.
  • False if the target component has no print 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

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

Pivot Grid

TcxPivotGridReportLinkA report link for Pivot Grid controls.

Scheduler

TcxSchedulerReportLinkImplements the scheduler’s report generating component.

Tree List

TcxDBTreeListReportLinkRepresents a report link for printing out the data aware TreeList control.TcxTreeListReportLinkRepresents a report link for printing out the standard TreeList control.TcxVirtualTreeListReportLinkRepresents a report link for printing out the standard TreeList control.

Vertical Grid

TcxRTTIInspectorReportLinkRepresents the report link used for printing out the cxRTTIInspector control.TcxUnboundVerticalGridReportLinkRepresents the report link used to print out single record controls.TcxVerticalGridReportLinkRepresents the report link used for printing out the cxVerticalGrid control. See Also

TCustomdxComponentPrinter.DesignerExists Function

TCustomdxComponentPrinter.DesignReport Function

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit