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

TcxSchedulerEvent.GetValidTaskTimeRangeByRelation(TcxSchedulerEventRelation,TcxSchedulerEvent,TDateTime,TDateTime) Method

Validates the current task’s time bounds.

#Declaration

Delphi
procedure GetValidTaskTimeRangeByRelation(const ARelation: TcxSchedulerEventRelation; AEvent: TcxSchedulerEvent; var AStart: TDateTime; var AFinish: TDateTime); virtual;

#Parameters

Name Type
ARelation TcxSchedulerEventRelation
AEvent TcxSchedulerEvent
AStart TDateTime
AFinish TDateTime

#Remarks

Use the GetValidTaskTimeRangeByRelation method if the task is linked to the other task (or tasks) as a successor, and its time bounds have been changed in code.

The calculation of the allowable time period depends upon the link type and the predecessor task’s time bounds.

ARelation specifies the link type.

AEvent represents the predecessor task.

AStart and AFinish represent the current task’s calculated time bounds.

See Also