TTMSFNCGanttTask.AddDependentEventMarker Method
Adds a zero-duration event marker that depends on this task.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttTask
Syntax
function AddDependentEventMarker(AName: string; ADescription: string; ADependencyType: TTMSFNCGanttTaskDependencyType; ADelayValue: Double = 0; ADelayType: TTMSFNCGanttDurationType = gdtSeconds; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays; AState: TTMSFNCGanttTaskState = nil): TTMSFNCGanttTask;
Parameters
| Name | Description |
|---|---|
AName |
Name of the event marker. |
ADescription |
Description of the event marker. |
ADependencyType |
Dependency relationship between this task and the marker. |
ADelayValue |
Dependency delay amount expressed in ADelayType. |
ADelayType |
Unit used by ADelayValue. |
AWorkTimePolicy |
Calendar policy used to position the marker. |
AState |
Optional state assigned to the marker. |
Returns
The newly created event marker.