Skip to main content

TcxSchedulerReportLink.OnCanPrintEvent Event

Fires when the current user event is going to be displayed in the scheduler’s report.

Declaration

property OnCanPrintEvent: TcxSchedulerReportLinkCanPrintEventEvent read; write;

Remarks

Implement the OnCanPrintEvent event handler to filter the user events, which will be drawn in the report’s scheduling area.

Sender represents the TcxSchedulerReportLink object.

AEvent represents the current user event.

AllowPrint specifies whether the current user event will appear in the report. Set AllowPrint to False to prevent the current user event from appearing in the scheduler’s report.

Note

If the report’s print style is the memo print style (see the TcxSchedulerReportLinkPrintStyles.Memo property) and the TcxSchedulerReportLinkMemoPrintStyle.SelectedEventsOnly property is set to True then the AllowPrint parameter is automatically set to False if the current user event is not selected in the scheduling area.

See Also