TdxDurationFormat Enum
In This Article
Enumerates duration formats in the VCL Gantt Control.
#Declaration
Delphi
TdxDurationFormat = (
Minutes = 3,
ElapsedMinutes,
Hours,
ElapsedHours,
Days,
ElapsedDays,
Weeks,
ElapsedWeeks,
Months,
ElapsedMonths,
Percent = 19,
ElapsedPercent,
Null,
EstimatedMinutes = 35,
EstimatedElapsedMinutes,
EstimatedHours,
EstimatedElapsedHours,
EstimatedDays,
EstimatedElapsedDays,
EstimatedWeeks,
EstimatedElapsedWeeks,
EstimatedMonths,
EstimatedElapsedMonths,
EstimatedPercent = 51,
EstimatedElapsedPercent,
EstimatedNull
);
#Members
Name |
---|
Minutes
|
Elapsed
|
Hours
|
Elapsed
|
Days
|
Elapsed
|
Weeks
|
Elapsed
|
Months
|
Elapsed
|
Percent
|
Elapsed
|
Null
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
Estimated
|
#Remarks
Options include:
Duration Format Prefix | Description | Example |
---|---|---|
None | A simple duration. Calculates a work-day cycle (eight hours) and ignores the non-working time. | 3 days |
Estimated | Estimated duration expresses an expected time that a task requires. The control calculates the estimated duration in the same manner as the simple duration (see the description above). The question mark specifies that the duration is estimated. | 3 days? |
Elapsed | Elapsed duration calculates a twenty four-hour cycle and includes non-working time. | 3 edays |
Estimated |
Combines the “Elapsed” and “Estimated” calculation modes. | 3 edays? |
Note
The Null value specifies the default display format for task duration and corresponds to the Days value.
The following properties reference the TdxDurationFormat type:
A data model’s Properties.DurationFormat property.
A task’s DurationFormat property.
See Also