Table of Contents

TTMSFNCGanttTask.AddNextTaskSameStartDate Method

Adds a sibling task with the same planned start date as this task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTask

Syntax

function AddNextTaskSameStartDate(AName: string; ADescription: string; ADurationValue: Double = 0; ADurationType: TTMSFNCGanttDurationType = gdtSeconds; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays; AProgress: Integer = 0; AState: TTMSFNCGanttTaskState = nil): TTMSFNCGanttTask;

Parameters

Name Description
AName Name of the new task.
ADescription Description of the new task.
ADurationValue Duration amount expressed in ADurationType.
ADurationType Unit used by ADurationValue.
AWorkTimePolicy Calendar policy used to schedule the task.
AProgress Initial progress percentage.
AState Optional state assigned to the new task.

Returns

The newly created sibling task.