TcxCustomSchedulerStorage.CreateOccurrence(TcxSchedulerEvent,TDateTime,TcxEventType) Method
In This Article
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 | Tcx |
ADate | TDate |
AType | Tcx |
#Returns
Type |
---|
Tcx |
#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 Create
See Also