cxSchedulerImportFromOutlook(TcxCustomSchedulerStorage,TcxAcceptAppointmentItemImportFunc,TcxAppointmentItemToEventProc,TcxSchedulerExchangeProgressProc) Method
Imports Microsoft Outlook® items into the scheduler.
Declaration
procedure cxSchedulerImportFromOutlook(AStorage: TcxCustomSchedulerStorage; AcceptFunc: TcxAcceptAppointmentItemImportFunc = nil; AConvertProc: TcxAppointmentItemToEventProc = nil; AProgressProc: TcxSchedulerExchangeProgressProc = nil);
Parameters
Name | Type |
---|---|
AStorage | TcxCustomSchedulerStorage |
AcceptFunc | TcxAcceptAppointmentItemImportFunc |
AConvertProc | TcxAppointmentItemToEventProc |
AProgressProc | TcxSchedulerExchangeProgressProc |
Remarks
The AStorage parameter specifies the storage where the imported user events will be stored.
The AcceptFunc parameter specifies a callback reference to a validation function. This function can be implemented by the developer to verify (if required) whether the Microsoft Outlook® item can be imported or not prior to the item actually being imported. This function should return a value of True to allow the import or False to cancel it.
The AConvertProc parameter specifies the callback reference to the procedure. The procedure can for instance be used to perform additional conversion operations on the imported user event before it is posted to the scheduler’s storage.
The AProgressProc parameter specifies the callback reference to the progress indication procedure. This procedure can for instance be used to display a status bar to an end-user when synchronization between the scheduler and Microsoft Outlook® is being performed.
Note
export and import of the label color is currently not supported.