Back to Devexpress

TcxAcceptEventExportFunc Type

vcl-cxscheduleroutlookexchange-d4777093.md

latest1.8 KB
Original Source

TcxAcceptEventExportFunc Type

Provides a callback reference to a function that verifies whether the scheduler’s user event can be exported to Microsoft Outlook® before it is actually exported.

Declaration

delphi
TcxAcceptEventExportFunc = function(AEvent: TcxSchedulerEvent): Boolean;

Parameters

NameType
AEventTcxSchedulerEvent

Referenced Class

Type
Boolean

Remarks

The TcxAcceptEventExportFunc function reference enables a user-defined validation function to be implemented which for example, checks that the scheduler’s user events match a particular criteria prior to these user events being exported to Microsoft Outlook®. The function implemented should return a value of True to allow the user events to be exported. If the conditions required aren’t met False must be returned to cancel the export.

The AEvent parameter specifies the scheduler’s user event, which will be exported to Microsoft Outlook®.

See Also

TcxEventToAppointmentItemProc

cxSchedulerOutlookExchange.cxSchedulerExportToOutlook

cxSchedulerOutlookExchange Unit