Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to Bind Multiple Scheduler Storages to a Scheduler in Code

The following example demonstrates how to bind the TcxSchedulerDBStorage and TcxSchedulerStorage to the scheduler using the TcxSchedulerAggregateStorage component programmatically:

Delphi
// ...
begin
  // specify that the bound storage is the default storage in the application
  SchedulerAggregateStorage.Links.DefaultLink := SchedulerAggregateStorage.Links.AddStorageLink(SchedulerDBStorage);
  SchedulerAggregateStorage.Links.AddStorageLink(SchedulerStorage);
end;

It is assumed that the TcxSchedulerDBStorage and TcxSchedulerStorage are already configured at design-time. To learn how to configure these storages at design-time, refer to the Bound Mode and Unbound Mode help topics.

See Also