TcxSchedulerEvent.GetValidTaskTimeRange(TDateTime,TDateTime) Method
Validates the current task’s time start and end time.
Declaration
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