TcxSchedulerAggregateStorage.OnEventInserting Event
Allows you to perform any actions, prior to posting a new user event to storage.
Declaration
property OnEventInserting: TcxSchedulerEventInsertingEvent read; write;
Remarks
Sender references the aggregate storage.
AEvent references the user event to be posted to AStorage.
AStorage references the storage to which the user event will be posted.
If no special storage is specified via AStorage within the event handler, the synchronization is performed with the following storages:
If AEvent is a regular user event, then AEvent will be posted to the linked storage that is specified as default (see the TcxSchedulerStorageLink.Default property).
If AEvent is a custom occurrence (the user event’s EventType property is set to etException or etCustom) of the recurring user event (see the TcxSchedulerEvent.IsRecurring and TcxSchedulerEvent.Pattern properties), then it will be posted to the linked storage that stores the parent.