Skip to main content
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

FMX.TMSFNCGanttClasses.hppPascalC++
function AddNextEventMarkerSameStartDate(AName: string; ADescription: string; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays; AState: TTMSFNCGanttTaskState = nil): TTMSFNCGanttTask;
TTMSFNCGanttTask* __fastcall AddNextEventMarkerSameStartDate(System::UnicodeString AName, System::UnicodeString ADescription, TTMSFNCGanttTaskWorkTimePolicy AWorkTimePolicy = (TTMSFNCGanttTaskWorkTimePolicy)(0x0), TTMSFNCGanttTaskState* AState = (TTMSFNCGanttTaskState*)(0x0));

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.