Table of Contents

TTMSFNCGanttTask.AddNextEventMarkerSameStartDate Method

Adds a zero-duration event marker with the same planned start date as this task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTask

Syntax

function AddNextEventMarkerSameStartDate(AName: string; ADescription: string; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays; AState: TTMSFNCGanttTaskState = nil): TTMSFNCGanttTask;

Parameters

Name Description
AName Name of the event marker.
ADescription Description of the event marker.
AWorkTimePolicy Calendar policy used to position the marker.
AState Optional state assigned to the marker.

Returns

The newly created event marker.