TdxGanttControlTaskPredecessorLink Class
A task dependency in the VCL Gantt Control.
Declaration
TdxGanttControlTaskPredecessorLink = class(
TdxGanttControlModelElementListItem
)
Remarks
Dependencies specify relationships between tasks. This allows a user to define when a task should begin or end in relation to another task.
A task that depends on another task’s completion is a successor task. A task that defines when dependent task should start or finish is a predecessor task. A single task can have one dependency or more.
TdxGanttControlTaskPredecessorLink members allow you to do the following:
- Get the lag time format (IsElapsedLagFormat and IsPercentLagFormat)
- Specify the task delay time and its measurement units (LinkLag and LagFormat)
- Access the predecessor task by its identifier (PredecessorUID)
- Obtain the successor task (Task)
- Specify the dependency type (Type)
The following API members in a dependency collection reference a TdxGanttControlTaskPredecessorLink class instance:
- The Items property
- The Append and GetItemByPredecessorUID functions
Inheritance
See Also