Table of Contents

TTMSFNCGanttTaskDependencies.AddDependency Method

Adds a configured dependency to another task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskDependencies

Syntax

function AddDependency(ATask: TTMSFNCGanttTask; ADependencyType: TTMSFNCGanttTaskDependencyType; ADelayValue: Double = 0; ADelayType: TTMSFNCGanttDurationType = gdtSeconds): TTMSFNCGanttTaskDependency;

Parameters

Name Description
ATask Task this dependency points to.
ADependencyType Dependency relationship type.
ADelayValue Numeric delay value.
ADelayType Unit used by the delay value.

Returns

The newly created dependency.