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;
TTMSFNCGanttTask* __fastcall AddDependentEventMarker(System::UnicodeString AName, System::UnicodeString ADescription, TTMSFNCGanttTaskDependencyType ADependencyType, double ADelayValue = 0.000000E+00, TTMSFNCGanttDurationType ADelayType = (TTMSFNCGanttDurationType)(0x0), TTMSFNCGanttTaskWorkTimePolicy AWorkTimePolicy = (TTMSFNCGanttTaskWorkTimePolicy)(0x0), TTMSFNCGanttTaskState* AState = (TTMSFNCGanttTaskState*)(0x0));
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.