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

TcxCustomSchedulerStorage.CreateOccurrence(TcxSchedulerEvent,TDateTime,TcxEventType) Method

Creates occurrence of the APattern parent at the ADate date.

#Declaration

Delphi
function CreateOccurrence(APattern: TcxSchedulerEvent; const ADate: TDateTime; AType: TcxEventType): TcxSchedulerEvent;

#Parameters

Name Type
APattern TcxSchedulerEvent
ADate TDateTime
AType TcxEventType

#Returns

Type
TcxSchedulerEvent

#Remarks

Use the CreateOccurrence method to create occurrence of the etException or etCustom type.

The APattern parameter specifies the parent user event of the current occurrence, that is the user event whose TcxSchedulerEvent.EventType property is set to etPattern.

The ADate parameter specifies the occurrence’s date.

The AType parameter specifies the occurrence’s status (etException or etCustom).

Note

Before you call the CreateOccurrence method, make sure that there are no APattern occurrences of the etException or etCustom type on the ADate date.

See Also