Skip to main content
Table of Contents

TTMSFNCGanttTaskDependencies.AddDependency Method

Adds a configured dependency to another task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskDependencies

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function AddDependency(ATask: TTMSFNCGanttTask; ADependencyType: TTMSFNCGanttTaskDependencyType; ADelayValue: Double = 0; ADelayType: TTMSFNCGanttDurationType = gdtSeconds): TTMSFNCGanttTaskDependency;
TTMSFNCGanttTaskDependency* __fastcall AddDependency(TTMSFNCGanttTask* ATask, TTMSFNCGanttTaskDependencyType ADependencyType, double ADelayValue = 0.000000E+00, TTMSFNCGanttDurationType ADelayType = (TTMSFNCGanttDurationType)(0x0));

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.