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

TdxGanttControlTaskPredecessorLagFormat Enum

Enumerates lag time measurement units.

#Declaration

Delphi
TdxGanttControlTaskPredecessorLagFormat = (
    Minutes = 3,
    ElapsedMinutes,
    Hours,
    ElapsedHours,
    Days,
    ElapsedDays,
    Weeks,
    ElapsedWeeks,
    Months,
    ElapsedMonths,
    Percent = 19,
    ElapsedPercent
);

#Members

Name Description
Minutes
ElapsedMinutes
Hours
ElapsedHours
Days

The control excludes weekends and holidays from a delay calculation.

Example: A predecessor task continues from Monday to Wednesday and you want to delay its successor for five days. The control shifts the successor task to the next Wednesday because three of the five working days are in the current week and the remaining two in the succeeding week.

ElapsedDays

The control includes weekends and holidays to a delay calculation.

Example: A predecessor task continues from Monday to Wednesday and you want to delay its successor for five days. The control shifts the successor task to the next Monday because the five days include three working days and a weekend.

Weeks
ElapsedWeeks
Months
ElapsedMonths
Percent

The control calculates a successor task’s delay based on its predecessor’s duration.

Example: Predecessor task takes four days. The control postpones a successor task for two days if you specify fifty percent as lag time.

ElapsedPercent

#Remarks

A dependency’s LagFormat property references the TdxGanttControlTaskPredecessorLagFormat type.

See Also