Skip to main content

TBasedxReportLink.IsSupportedCompClass(TClass) Method

Determines whether a specific component class is supported by a given report link.

Declaration

class function IsSupportedCompClass(AComponentClass: TClass): Boolean; virtual;

Parameters

Name Type
AComponentClass TClass

Returns

Type
Boolean

Remarks

One report link can support several components for printing. For instance, you can override TStringGrid to expand its functionality and use a new grid in your application. If your new class does not differ much from the standard TStringGrid, you can use the same report link for printing. Use the IsSupportCompClass method to determine whether a specific component is supported by a given report link. If a specific component is supported, the IsSupportCompClass method returns True.

See Also