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.GetValidTaskTimeRange(TDateTime,TDateTime) Method

Validates the current task’s time start and end time.

#Declaration

Delphi
procedure GetValidTaskTimeRange(var AStart: TDateTime; var AFinish: TDateTime);

#Parameters

Name Type
AStart TDateTime
AFinish TDateTime

#Remarks

Use the GetValidTaskTimeRange 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 (see the TcxSchedulerEventItemLink.Relation property) and the predecessor task’s start and end time.

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

See Also